mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-11 03:10:09 +00:00
Add enter/leave notify to get_event_mask_from_ns_event now that those are handled like other events
This commit is contained in:
parent
da8666d745
commit
8e8aa53298
@ -493,6 +493,14 @@ get_event_mask_from_ns_event (NSEvent *nsevent)
|
||||
g_assert_not_reached ();
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
case NSMouseEntered:
|
||||
return GDK_ENTER_NOTIFY_MASK;
|
||||
|
||||
case NSMouseExited:
|
||||
return GDK_LEAVE_NOTIFY_MASK;
|
||||
|
||||
default:
|
||||
g_assert_not_reached ();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user