vcl/osx/salinst.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit e36afd6e2db02ba743980f630728280139a38c9f Author: Patrick Luby <guibmac...@gmail.com> AuthorDate: Mon Oct 28 09:46:02 2024 -0400 Commit: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org> CommitDate: Sun Nov 3 11:21:25 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/+/175741 Tested-by: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org> Reviewed-by: Patrick Luby <guibomac...@gmail.com> Reviewed-by: Adolfo Jayme Barrientos <fit...@ubuntu.com> Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org> 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