vcl/osx/saltimer.cxx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
New commits: commit 55f7845b9922e1dec3818579a4445e25a27c7e17 Author: Patrick Luby <guibmac...@gmail.com> AuthorDate: Sat Jan 4 09:23:07 2025 -0500 Commit: Patrick Luby <guibomac...@gmail.com> CommitDate: Sat Jan 4 17:42:24 2025 +0100 tdf#164564 don't stop the timer while waiting for a native event Partially revert commit 62baf23796132d6c0e17ae1ff37c3b9ee0556cf0. If only ImplGetSVData()->mpWinData->mbIsWaitingForNativeEvent is true, stopping the timer will also stop animation when using Skia/Raster or Skia is disabled. Change-Id: I1d267625c4213687a5b98d0b073e8c9c345c2978 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/179773 Tested-by: Jenkins Reviewed-by: Patrick Luby <guibomac...@gmail.com> diff --git a/vcl/osx/saltimer.cxx b/vcl/osx/saltimer.cxx index fffd1c63b92c..9dc6c6d43f29 100644 --- a/vcl/osx/saltimer.cxx +++ b/vcl/osx/saltimer.cxx @@ -142,7 +142,11 @@ void AquaSalTimer::callTimerCallback() void AquaSalTimer::handleTimerElapsed() { - if ( m_bDirectTimeout || ImplGetSVData()->mpWinData->mbIsLiveResize || ImplGetSVData()->mpWinData->mbIsWaitingForNativeEvent ) + // tdf#164564 don't stop the timer while waiting for a native event + // If only ImplGetSVData()->mpWinData->mbIsWaitingForNativeEvent is + // true, stopping the timer will also stop animation when using + // Skia/Raster or Skia is disabled. + if ( m_bDirectTimeout || ImplGetSVData()->mpWinData->mbIsLiveResize ) { // Stop the timer, as it is just invalidated after the firing function Stop();