summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2002-06-14 14:34:22 +0000
committerOwen Taylor <otaylor@src.gnome.org>2002-06-14 14:34:22 +0000
commit9c8d313f384626fe139fc2287bb8156b04741a3a (patch)
tree922085533bf988ab10770afb4b27170ef65fbeb0
parentbf4292b24c923af27c5f0721de042d603e0803d0 (diff)
downloadgdk-pixbuf-9c8d313f384626fe139fc2287bb8156b04741a3a.tar.gz
Ignore state change events for windows that aren't our toplevels. (#84482,
Fri Jun 14 10:31:59 2002 Owen Taylor <otaylor@redhat.com> * gdk/x11/gdkevents-x11.c (gdk_check_wm_state_changed): Ignore state change events for windows that aren't our toplevels. (#84482, Thomas Leonard)
-rw-r--r--ChangeLog6
-rw-r--r--ChangeLog.pre-2-106
-rw-r--r--ChangeLog.pre-2-26
-rw-r--r--ChangeLog.pre-2-46
-rw-r--r--ChangeLog.pre-2-66
-rw-r--r--ChangeLog.pre-2-86
-rw-r--r--NEWS6
-rw-r--r--gdk/x11/gdkevents-x11.c3
8 files changed, 41 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 48d04582d..f365b6309 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Fri Jun 14 10:31:59 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gdk/x11/gdkevents-x11.c (gdk_check_wm_state_changed):
+ Ignore state change events for windows that aren't
+ our toplevels. (#84482, Thomas Leonard)
+
Fri Jun 14 10:00:29 2002 Owen Taylor <otaylor@redhat.com>
* gdk/gdkwindow.c (gdk_window_update_idle): Add
diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10
index 48d04582d..f365b6309 100644
--- a/ChangeLog.pre-2-10
+++ b/ChangeLog.pre-2-10
@@ -1,3 +1,9 @@
+Fri Jun 14 10:31:59 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gdk/x11/gdkevents-x11.c (gdk_check_wm_state_changed):
+ Ignore state change events for windows that aren't
+ our toplevels. (#84482, Thomas Leonard)
+
Fri Jun 14 10:00:29 2002 Owen Taylor <otaylor@redhat.com>
* gdk/gdkwindow.c (gdk_window_update_idle): Add
diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2
index 48d04582d..f365b6309 100644
--- a/ChangeLog.pre-2-2
+++ b/ChangeLog.pre-2-2
@@ -1,3 +1,9 @@
+Fri Jun 14 10:31:59 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gdk/x11/gdkevents-x11.c (gdk_check_wm_state_changed):
+ Ignore state change events for windows that aren't
+ our toplevels. (#84482, Thomas Leonard)
+
Fri Jun 14 10:00:29 2002 Owen Taylor <otaylor@redhat.com>
* gdk/gdkwindow.c (gdk_window_update_idle): Add
diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4
index 48d04582d..f365b6309 100644
--- a/ChangeLog.pre-2-4
+++ b/ChangeLog.pre-2-4
@@ -1,3 +1,9 @@
+Fri Jun 14 10:31:59 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gdk/x11/gdkevents-x11.c (gdk_check_wm_state_changed):
+ Ignore state change events for windows that aren't
+ our toplevels. (#84482, Thomas Leonard)
+
Fri Jun 14 10:00:29 2002 Owen Taylor <otaylor@redhat.com>
* gdk/gdkwindow.c (gdk_window_update_idle): Add
diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6
index 48d04582d..f365b6309 100644
--- a/ChangeLog.pre-2-6
+++ b/ChangeLog.pre-2-6
@@ -1,3 +1,9 @@
+Fri Jun 14 10:31:59 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gdk/x11/gdkevents-x11.c (gdk_check_wm_state_changed):
+ Ignore state change events for windows that aren't
+ our toplevels. (#84482, Thomas Leonard)
+
Fri Jun 14 10:00:29 2002 Owen Taylor <otaylor@redhat.com>
* gdk/gdkwindow.c (gdk_window_update_idle): Add
diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8
index 48d04582d..f365b6309 100644
--- a/ChangeLog.pre-2-8
+++ b/ChangeLog.pre-2-8
@@ -1,3 +1,9 @@
+Fri Jun 14 10:31:59 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gdk/x11/gdkevents-x11.c (gdk_check_wm_state_changed):
+ Ignore state change events for windows that aren't
+ our toplevels. (#84482, Thomas Leonard)
+
Fri Jun 14 10:00:29 2002 Owen Taylor <otaylor@redhat.com>
* gdk/gdkwindow.c (gdk_window_update_idle): Add
diff --git a/NEWS b/NEWS
index 006ebf9c0..573714c6d 100644
--- a/NEWS
+++ b/NEWS
@@ -20,9 +20,9 @@ Overview of Changes in GTK+ 2.0.4
* Memory leak and UMR fixes [Michael Meeks, Matthias Clasen, Valgrind]
* Misc bug fixes
-Other contributors: Jacob Berkman, Remus Draica, Nano Golveia,
- Tim Janik, Sergey Kuzminov, George Lebl, Garrett Lesage,
- Timo Meinen, Michel Selten, Boris Shingarov, Jeff Waugh
+Other contributors: Nicholas Allen, Jacob Berkman, Remus Draica,
+ Nano Golveia, Tim Janik, Sergey Kuzminov, George Lebl, Garrett Lesage,
+ Robin Lu, Timo Meinen, Michel Selten, Boris Shingarov, Jeff Waugh
Overview of Changes in GTK+ 2.0.3
=================================
diff --git a/gdk/x11/gdkevents-x11.c b/gdk/x11/gdkevents-x11.c
index 448de94c1..f4a005994 100644
--- a/gdk/x11/gdkevents-x11.c
+++ b/gdk/x11/gdkevents-x11.c
@@ -304,7 +304,8 @@ gdk_check_wm_state_changed (GdkWindow *window)
gboolean found_sticky, found_maxvert, found_maxhorz;
GdkWindowState old_state;
- if (GDK_WINDOW_DESTROYED (window))
+ if (GDK_WINDOW_DESTROYED (window) ||
+ gdk_window_get_window_type (window) != GDK_WINDOW_TOPLEVEL)
return;
if (wm_state_atom == 0)