Disable cursor rects

This commit is contained in:
pagedown 2022-02-18 13:52:00 +08:00
parent ff8de7607a
commit 69c5c49094
No known key found for this signature in database
GPG Key ID: E921CF18AC8FF6EB

View File

@ -1028,6 +1028,8 @@ static const NSRange kEmptyRange = { NSNotFound, 0 };
- (void)updateTrackingAreas
{
if (window && [window->ns.object areCursorRectsEnabled])
[window->ns.object disableCursorRects];
if (trackingArea != nil)
{
[self removeTrackingArea:trackingArea];