vcl/osx/salframeview.mm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
New commits: commit 688ad93ccc2a3393046f2e4fe33f5be039b1803f Author: Patrick Luby <plub...@libreoffice.org> AuthorDate: Sat Dec 9 16:19:18 2023 -0500 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Tue Dec 12 16:36:29 2023 +0100 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 <plub...@libreoffice.org> (cherry picked from commit f7e81a321bc3e4880fc652e7ba24867bba557007) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160479 Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> 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;