JBR-1874 Cursor not changing from 'default' to 'text'

Prevent OS from changing cursor

(cherry picked from commit 94a4eb7002)
This commit is contained in:
Alexey Ushakov
2019-09-26 12:52:04 +03:00
committed by jbrbot
parent 4705d872b6
commit 8dfd461192

View File

@@ -102,6 +102,10 @@ static NSPoint lastTopLeftPoint;
return [(AWTWindow*)[self delegate] worksWhenModal]; \
} \
\
- (void)cursorUpdate:(NSEvent *)event { \
/* Prevent cursor updates from OS side */ \
} \
\
- (void)sendEvent:(NSEvent *)event { \
[(AWTWindow*)[self delegate] sendEvent:event]; \
[super sendEvent:event]; \