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>
This commit is contained in:
Patrick Luby
2023-12-09 23:07:58 +01:00
parent 46b4a5a768
commit f7e81a321b
+5 -1
View File
@@ -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;