Support the latest EWMH additions to the _NET_ACTIVE_WINDOW client message

2004-08-23  Matthias Clasen  <mclasen@redhat.com>

	* gdk/x11/gdkwindow-x11.c (gdk_window_focus): Support the latest
	EWMH additions to the _NET_ACTIVE_WINDOW client message
	format.  (#150668, Elijah Newren)
This commit is contained in:
Matthias Clasen 2004-08-23 15:12:04 +00:00 committed by Matthias Clasen
parent 2e0ddb6121
commit 31b681948c
5 changed files with 27 additions and 3 deletions

View File

@ -1,3 +1,9 @@
2004-08-23 Matthias Clasen <mclasen@redhat.com>
* gdk/x11/gdkwindow-x11.c (gdk_window_focus): Support the latest
EWMH additions to the _NET_ACTIVE_WINDOW client message
format. (#150668, Elijah Newren)
Mon Aug 23 01:17:59 2004 Matthias Clasen <maclas@gmx.de>
* gdk/gdkrgb.c (gdk_rgb_xpixel_from_rgb_internal): Set unused

View File

@ -1,3 +1,9 @@
2004-08-23 Matthias Clasen <mclasen@redhat.com>
* gdk/x11/gdkwindow-x11.c (gdk_window_focus): Support the latest
EWMH additions to the _NET_ACTIVE_WINDOW client message
format. (#150668, Elijah Newren)
Mon Aug 23 01:17:59 2004 Matthias Clasen <maclas@gmx.de>
* gdk/gdkrgb.c (gdk_rgb_xpixel_from_rgb_internal): Set unused

View File

@ -1,3 +1,9 @@
2004-08-23 Matthias Clasen <mclasen@redhat.com>
* gdk/x11/gdkwindow-x11.c (gdk_window_focus): Support the latest
EWMH additions to the _NET_ACTIVE_WINDOW client message
format. (#150668, Elijah Newren)
Mon Aug 23 01:17:59 2004 Matthias Clasen <maclas@gmx.de>
* gdk/gdkrgb.c (gdk_rgb_xpixel_from_rgb_internal): Set unused

View File

@ -1,3 +1,9 @@
2004-08-23 Matthias Clasen <mclasen@redhat.com>
* gdk/x11/gdkwindow-x11.c (gdk_window_focus): Support the latest
EWMH additions to the _NET_ACTIVE_WINDOW client message
format. (#150668, Elijah Newren)
Mon Aug 23 01:17:59 2004 Matthias Clasen <maclas@gmx.de>
* gdk/gdkrgb.c (gdk_rgb_xpixel_from_rgb_internal): Set unused

View File

@ -2014,9 +2014,9 @@ gdk_window_focus (GdkWindow *window,
xev.xclient.message_type = gdk_x11_get_xatom_by_name_for_display (display,
"_NET_ACTIVE_WINDOW");
xev.xclient.format = 32;
xev.xclient.data.l[0] = 0;
xev.xclient.data.l[1] = 0;
xev.xclient.data.l[2] = 0;
xev.xclient.data.l[0] = 1; /* requestor type; we're an app */
xev.xclient.data.l[1] = timestamp;
xev.xclient.data.l[2] = None; /* currently active window */
xev.xclient.data.l[3] = 0;
xev.xclient.data.l[4] = 0;