[gtk+/client-side-windows: 224/284] Use isKeyWindow instead of isMainWindow for the non-click-through check



commit 55c71f18a4b87ed6efd3b3e2122b1a0c55376106
Author: Richard Hult <richard imendio com>
Date:   Sat Jan 31 21:32:11 2009 +0100

    Use isKeyWindow instead of isMainWindow for the non-click-through check
---
 gdk/quartz/gdkevents-quartz.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/gdk/quartz/gdkevents-quartz.c b/gdk/quartz/gdkevents-quartz.c
index a24ea45..3a8d324 100644
--- a/gdk/quartz/gdkevents-quartz.c
+++ b/gdk/quartz/gdkevents-quartz.c
@@ -1538,7 +1538,7 @@ gdk_event_translate (GdkEvent *event,
 
       if (![NSApp isActive])
         return FALSE;
-      else if (![impl->toplevel isMainWindow])
+      else if (![impl->toplevel isKeyWindow])
         return FALSE;
     }
 



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