diff options
author | Patrick Luby <plubius@libreoffice.org> | 2023-12-09 16:19:18 -0500 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-12-12 16:36:29 +0100 |
commit | 688ad93ccc2a3393046f2e4fe33f5be039b1803f (patch) | |
tree | 57472a86ac3bfb260de5ab457645af105c932ff3 | |
parent | fa61b425e6c84f2a949b80acff35ac07db3a92b0 (diff) |
tdf#158461 eliminate flicker during live resizing
When using Skia/Metal, the window content will flicker while
live resizing a window if we don't send a paint event.
Change-Id: Ib3edc497e26e6abfdfd17a34f9269a3eae090805
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160519
Tested-by: Jenkins
Reviewed-by: Patrick Luby <plubius@libreoffice.org>
(cherry picked from commit f7e81a321bc3e4880fc652e7ba24867bba557007)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160479
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
-rw-r--r-- | vcl/osx/salframeview.mm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/vcl/osx/salframeview.mm b/vcl/osx/salframeview.mm index 4fd5913efc05..c0b23f80a7d6 100644 --- a/vcl/osx/salframeview.mm +++ b/vcl/osx/salframeview.mm @@ -465,8 +465,12 @@ static void updateWinDataInLiveResize(bool bInLiveResize) else { [self clearLiveResizeTimer]; - mpFrame->SendPaintEvent(); } + + // tdf#158461 eliminate flicker during live resizing + // When using Skia/Metal, the window content will flicker while + // live resizing a window if we don't send a paint event. + mpFrame->SendPaintEvent(); } mbInWindowDidResize = NO; |