vcl/osx/salinst.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit d3895d7efd62576ce29132e823f3fdbdeb2e10ee Author: Patrick Luby <guibmac...@gmail.com> AuthorDate: Mon Oct 28 09:46:02 2024 -0400 Commit: Patrick Luby <guibomac...@gmail.com> CommitDate: Mon Oct 28 20:31:01 2024 +0100 Fix unresponsive mouse moved events in Writer on macOS On macOS, when Writer is in a background task such as initial layout and spellchecking, mouse moved events appear to be unresponsive due to the fact that AquaSalInstance::AnyInput() returns false when flags include VclInputFlags::MOUSE even though there are native mouse moved events waiting to be dispatched. In contrast, on Windows WinSalInstance::AnyInput() will return true so make macOS behave the same as Windows and return true if there are any queued native mouse moved events. Change-Id: I4b3cf66f2fb0357c0eebaf869da0bdcdbb8f8516 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175725 Tested-by: Jenkins Reviewed-by: Patrick Luby <guibomac...@gmail.com> diff --git a/vcl/osx/salinst.cxx b/vcl/osx/salinst.cxx index 31f02b5dcb2c..4d078bd96b35 100644 --- a/vcl/osx/salinst.cxx +++ b/vcl/osx/salinst.cxx @@ -740,7 +740,7 @@ bool AquaSalInstance::AnyInput( VclInputFlags nType ) NSEventMaskLeftMouseUp | NSEventMaskRightMouseUp | NSEventMaskOtherMouseUp | NSEventMaskLeftMouseDragged | NSEventMaskRightMouseDragged | NSEventMaskOtherMouseDragged | NSEventMaskScrollWheel | - // NSEventMaskMouseMoved | + NSEventMaskMouseMoved | NSEventMaskMouseEntered | NSEventMaskMouseExited; // Related: tdf#155266 stop delaying painting timer while swiping