diff options
author | Patrick Luby <plubius@libreoffice.org> | 2023-11-22 18:21:53 -0500 |
---|---|---|
committer | Patrick Luby <plubius@neooffice.org> | 2023-11-23 16:02:27 +0100 |
commit | 54da842381ccb554d3cadc876f23cf183d21bf1a (patch) | |
tree | 3bc2e8472758fdcfad1af28540a02b03adef1e84 /vcl/inc/osx/salframe.h | |
parent | ee65218d9e74fc787520830f29f74e1ac61383ea (diff) |
tdf#155092 use tracking areas instead of tracking rectangles
Apparently, the older, tracking rectangles selectors cause
unexpected window resizing upon the first mouse down after the
window has been manually resized so switch to the newer,
tracking areas selectors. Also, the NSTrackingInVisibleRect
option allows us to create one single tracking area that
resizes itself automatically over the lifetime of the view.
Note: for some unknown reason, both NSTrackingMouseMoved and
NSTrackingAssumeInside are necessary options for this fix
to work.
Change-Id: I1f771628d872166ff63a52990f671df053d144ca
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159845
Tested-by: Jenkins
Reviewed-by: Patrick Luby <plubius@neooffice.org>
Diffstat (limited to 'vcl/inc/osx/salframe.h')
-rw-r--r-- | vcl/inc/osx/salframe.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/vcl/inc/osx/salframe.h b/vcl/inc/osx/salframe.h index 2d9b9084fcbb..717e5f310178 100644 --- a/vcl/inc/osx/salframe.h +++ b/vcl/inc/osx/salframe.h @@ -78,7 +78,6 @@ public: PointerStyle mePointerStyle; // currently active pointer style - NSTrackingRectTag mnTrackingRectTag; // used to get enter/leave messages NSRect maTrackingRect; CGMutablePathRef mrClippingPath; // used for "shaping" |