lok: add viewId to window painting, to allow special-casing on render

Desktop / LibreOffice - Michael Meeks [collabora.com] - 30 November 2019 21:58 EST

View switching should not cause the sidebar UX to re-build at all. Particularly it should not do this when we switch view just to render a sidebar.

Change-Id: Iec0427cdc8308fc273d73ea56dd208bfa7036471 Reviewed-on: https://gerrit.libreoffice.org/84120

71c5b374deb3 lok: add viewId to window painting, to allow special-casing on render.
desktop/qa/desktop_lib/test_desktop_lib.cxx | 3 ++-
desktop/source/lib/init.cxx | 29 +++++++++++++++++++++++------
include/LibreOfficeKit/LibreOfficeKit.h | 9 +++++++++
include/LibreOfficeKit/LibreOfficeKit.hxx | 7 ++++---
sfx2/source/control/shell.cxx | 7 +++++++
5 files changed, 45 insertions(+), 10 deletions(-)

Upstream: cgit.freedesktop.org


  • Share