Add enter/leave notify to get_event_mask_from_ns_event now that those are handled like other events

This commit is contained in:
Richard Hult 2009-01-16 19:51:15 +01:00 committed by Alexander Larsson
parent da8666d745
commit 8e8aa53298

View File

@ -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 ();
}