File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -229,6 +229,7 @@ -(void) otherMouseDown: (NSEvent*) evt;
229
229
-(void ) otherMouseUp : (NSEvent *) evt ;
230
230
-(void ) otherMouseDragged : (NSEvent *) evt ;
231
231
-(void ) mouseMoved : (NSEvent *) evt ;
232
+ -(void ) cursorUpdate : (NSEvent *) evt ;
232
233
-(void ) scrollWheel : (NSEvent *) evt ;
233
234
-(void ) viewDidMoveToWindow ;
234
235
-(void ) viewWillMoveToWindow : (NSWindow *) newWindow ;
@@ -413,6 +414,13 @@ -(void) mouseMoved: (NSEvent*) evt
413
414
if (_osx_mouse_installed)
414
415
_al_osx_mouse_generate_event (evt, dpy_ptr);
415
416
}
417
+ -(void ) cursorUpdate : (NSEvent *) evt
418
+ {
419
+ if (_osx_mouse_installed) {
420
+ ALLEGRO_DISPLAY_OSX_WIN* dpy = (ALLEGRO_DISPLAY_OSX_WIN*) dpy_ptr;
421
+ _al_osx_change_cursor (dpy, dpy->cursor );
422
+ }
423
+ }
416
424
-(void ) scrollWheel : (NSEvent *) evt
417
425
{
418
426
if (_osx_mouse_installed)
You can’t perform that action at this time.
0 commit comments