]> Pileus Git - ~andy/gtk/commit
Set the window level depending on the type hint.
authorRichard Hult <richard@imendio.com>
Mon, 24 Jul 2006 10:46:21 +0000 (10:46 +0000)
committerRichard Hult <rhult@src.gnome.org>
Mon, 24 Jul 2006 10:46:21 +0000 (10:46 +0000)
commit7a3c18ab7b3091cdd947318a4b24cc6304b2d36c
treec52b992832e048366e2fdac9310a6d030d324904
parent247fd362bae24644113b3d3287f300529eef4367
Set the window level depending on the type hint.

2006-07-24  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkwindow-quartz.c (gdk_window_set_type_hint): Set the
window level depending on the type hint.

* gdk/quartz/gdkevents-quartz.c (gdk_keyboard_grab,
pointer_ungrab_internal): Only break the grab if the new window is
a different one.
(gdk_event_translate): Catch the case where the entire app loses
focus and break any grabs. Only do implicit grabs when the event
mask has both press and release.

* gdk/quartz/gdkkeys-quartz.c (translate_keysym):
* gdk/quartz/gdkselection-quartz.c:

        * gdk/quartz/GdkQuartzWindow.c
([GdkQuartzWindow -windowDidResignKey:]): Use this to update the
focus window instead of resignMain, fixes the case where other apps
uses focus follows mouse (like the terminal can).
gdk/quartz/GdkQuartzWindow.c
gdk/quartz/gdkevents-quartz.c
gdk/quartz/gdkkeys-quartz.c
gdk/quartz/gdkprivate-quartz.h
gdk/quartz/gdkselection-quartz.c
gdk/quartz/gdkwindow-quartz.c