[gtk+/client-side-windows: 145/284] Add enter/leave notify to get_event_mask_from_ns_event now that those are handled like other events



commit 8e8aa53298749e812f489c2657b051b209778089
Author: Richard Hult <richard imendio com>
Date:   Fri Jan 16 19:51:15 2009 +0100

    Add enter/leave notify to get_event_mask_from_ns_event now that those are handled like other events
---
 gdk/quartz/gdkevents-quartz.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/gdk/quartz/gdkevents-quartz.c b/gdk/quartz/gdkevents-quartz.c
index 1a66a31..0b99a21 100644
--- a/gdk/quartz/gdkevents-quartz.c
+++ b/gdk/quartz/gdkevents-quartz.c
@@ -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 ();
     }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]