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)
This commit is contained in:
Owen Taylor 2002-06-14 14:34:09 +00:00 committed by Owen Taylor
parent b32da181ee
commit 5bfc83bbc7
7 changed files with 38 additions and 1 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -372,7 +372,8 @@ gdk_check_wm_state_changed (GdkWindow *window)
GdkWindowState old_state;
GdkDisplay *display = GDK_WINDOW_DISPLAY (window);
if (GDK_WINDOW_DESTROYED (window))
if (GDK_WINDOW_DESTROYED (window) ||
gdk_window_get_window_type (window) != GDK_WINDOW_TOPLEVEL)
return;
found_sticky = FALSE;