mirror of
https://github.com/JetBrains/JetBrainsRuntime.git
synced 2025-12-06 09:29:38 +01:00
JBR-1874 Cursor not changing from 'default' to 'text'
Prevent OS from changing cursor
(cherry picked from commit 94a4eb7002)
This commit is contained in:
@@ -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]; \
|
||||
|
||||
Reference in New Issue
Block a user