vcl/osx/salinst.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit c18d2bd63ebf86d56a25cba412c60f7f71c2ce64 Author: Patrick Luby <[email protected]> AuthorDate: Mon Oct 28 09:46:02 2024 -0400 Commit: Adolfo Jayme Barrientos <[email protected]> CommitDate: Wed Oct 30 19:44:06 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/+/175620 Reviewed-by: Adolfo Jayme Barrientos <[email protected]> Tested-by: Jenkins Reviewed-by: Patrick Luby <[email protected]> diff --git a/vcl/osx/salinst.cxx b/vcl/osx/salinst.cxx index e8543fcda19c..7196c2aa6c69 100644 --- a/vcl/osx/salinst.cxx +++ b/vcl/osx/salinst.cxx @@ -739,7 +739,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
