diff options
author | Matthias Clasen <mclasen@redhat.com> | 2004-08-23 15:12:04 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2004-08-23 15:12:04 +0000 |
commit | 31b681948c5492aab11bee1dfe4f6642447ab50a (patch) | |
tree | 8199a4e2298125cfd4ed2343e51d8b4a3d815f03 | |
parent | 2e0ddb612119a566e4ecd0764f63f3e90525a50f (diff) | |
download | gtk+-31b681948c5492aab11bee1dfe4f6642447ab50a.tar.gz |
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)
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | ChangeLog.pre-2-10 | 6 | ||||
-rw-r--r-- | ChangeLog.pre-2-6 | 6 | ||||
-rw-r--r-- | ChangeLog.pre-2-8 | 6 | ||||
-rw-r--r-- | gdk/x11/gdkwindow-x11.c | 6 |
5 files changed, 27 insertions, 3 deletions
@@ -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 diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 25cc01c22b..be20df84d2 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -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 diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 25cc01c22b..be20df84d2 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -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 diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 25cc01c22b..be20df84d2 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -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 diff --git a/gdk/x11/gdkwindow-x11.c b/gdk/x11/gdkwindow-x11.c index 822701420b..36c5f1166b 100644 --- a/gdk/x11/gdkwindow-x11.c +++ b/gdk/x11/gdkwindow-x11.c @@ -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; |