]> Pileus Git - ~andy/gtk/commit
x11: Implement GDK_WINDOW_STATE_FOCUSED on top of _NET_WM_STATE_FOCUSED
authorRui Matos <tiagomatos@gmail.com>
Fri, 28 Oct 2011 22:29:01 +0000 (23:29 +0100)
committerRui Matos <tiagomatos@gmail.com>
Tue, 8 Nov 2011 19:33:22 +0000 (19:33 +0000)
commit95648fd1942651ea1ca9aab9b7aa79df6f843f40
treeb96686d7ac80fd0dd90bb7fc6ccc2b7060ff8378
parent43f1b5abbc83483c8554239adf8b42f218c11adf
x11: Implement GDK_WINDOW_STATE_FOCUSED on top of _NET_WM_STATE_FOCUSED

_NET_WM_STATE_FOCUSED is a new _NET_WM_STATE hint which allows us to
implement a meaningful GDK_WINDOW_STATE_FOCUSED under X11. If the window
manager doesn't support this hint we keep GDK_WINDOW_STATE_FOCUSED set since
that is what gtk+ implicitly assumed historically.

https://bugzilla.gnome.org/show_bug.cgi?id=661428
gdk/x11/gdkdisplay-x11.c
gdk/x11/gdkwindow-x11.h