[gtk+/client-side-windows: 219/284] Leave AppKit events unhandled



commit 3d72fe16c059def4e292b5ccf2eccfa09af685bf
Author: Richard Hult <richard imendio com>
Date:   Thu Jan 29 14:05:54 2009 +0100

    Leave AppKit events unhandled
---
 gdk/quartz/gdkevents-quartz.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/gdk/quartz/gdkevents-quartz.c b/gdk/quartz/gdkevents-quartz.c
index d207082..bd56f60 100644
--- a/gdk/quartz/gdkevents-quartz.c
+++ b/gdk/quartz/gdkevents-quartz.c
@@ -1389,6 +1389,9 @@ gdk_event_translate (GdkEvent *event,
        * on the title. The subtype 20 is undocumented so it's probably
        * not a good idea: else if (subtype == 20) break_all_grabs ();
        */
+
+      /* Leave all AppKit events to AppKit. */
+      return FALSE;
     }
 
   /* Handle our generated "fake" crossing events. */



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