forked from AuroraMiddleware/gtk
Reset the toplevel->have_* flags before iterating over the _NET_WM_STATE
2003-08-07 Matthias Clasen <maclas@gmx.de> * gdk/x11/gdkevents-x11.c (gdk_check_wm_state_changed): Reset the toplevel->have_* flags before iterating over the _NET_WM_STATE atoms. (#119217)
This commit is contained in:
parent
bccfe54807
commit
9bfaab6e77
@ -1,3 +1,8 @@
|
|||||||
|
2003-08-07 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
|
* gdk/x11/gdkevents-x11.c (gdk_check_wm_state_changed): Reset the toplevel->have_* flags before
|
||||||
|
iterating over the _NET_WM_STATE atoms. (#119217)
|
||||||
|
|
||||||
Thu Aug 7 16:49:29 2003 Owen Taylor <otaylor@redhat.com>
|
Thu Aug 7 16:49:29 2003 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* gtk/gtkwidget.c (gtk_widget_set_style_internal):
|
* gtk/gtkwidget.c (gtk_widget_set_style_internal):
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2003-08-07 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
|
* gdk/x11/gdkevents-x11.c (gdk_check_wm_state_changed): Reset the toplevel->have_* flags before
|
||||||
|
iterating over the _NET_WM_STATE atoms. (#119217)
|
||||||
|
|
||||||
Thu Aug 7 16:49:29 2003 Owen Taylor <otaylor@redhat.com>
|
Thu Aug 7 16:49:29 2003 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* gtk/gtkwidget.c (gtk_widget_set_style_internal):
|
* gtk/gtkwidget.c (gtk_widget_set_style_internal):
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2003-08-07 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
|
* gdk/x11/gdkevents-x11.c (gdk_check_wm_state_changed): Reset the toplevel->have_* flags before
|
||||||
|
iterating over the _NET_WM_STATE atoms. (#119217)
|
||||||
|
|
||||||
Thu Aug 7 16:49:29 2003 Owen Taylor <otaylor@redhat.com>
|
Thu Aug 7 16:49:29 2003 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* gtk/gtkwidget.c (gtk_widget_set_style_internal):
|
* gtk/gtkwidget.c (gtk_widget_set_style_internal):
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2003-08-07 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
|
* gdk/x11/gdkevents-x11.c (gdk_check_wm_state_changed): Reset the toplevel->have_* flags before
|
||||||
|
iterating over the _NET_WM_STATE atoms. (#119217)
|
||||||
|
|
||||||
Thu Aug 7 16:49:29 2003 Owen Taylor <otaylor@redhat.com>
|
Thu Aug 7 16:49:29 2003 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* gtk/gtkwidget.c (gtk_widget_set_style_internal):
|
* gtk/gtkwidget.c (gtk_widget_set_style_internal):
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2003-08-07 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
|
* gdk/x11/gdkevents-x11.c (gdk_check_wm_state_changed): Reset the toplevel->have_* flags before
|
||||||
|
iterating over the _NET_WM_STATE atoms. (#119217)
|
||||||
|
|
||||||
Thu Aug 7 16:49:29 2003 Owen Taylor <otaylor@redhat.com>
|
Thu Aug 7 16:49:29 2003 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* gtk/gtkwidget.c (gtk_widget_set_style_internal):
|
* gtk/gtkwidget.c (gtk_widget_set_style_internal):
|
||||||
|
@ -477,6 +477,11 @@ gdk_check_wm_state_changed (GdkWindow *window)
|
|||||||
|
|
||||||
gboolean had_sticky = toplevel->have_sticky;
|
gboolean had_sticky = toplevel->have_sticky;
|
||||||
|
|
||||||
|
toplevel->have_sticky = FALSE;
|
||||||
|
toplevel->have_maxvert = FALSE;
|
||||||
|
toplevel->have_maxhorz = FALSE;
|
||||||
|
toplevel->have_fullscreen = FALSE;
|
||||||
|
|
||||||
XGetWindowProperty (GDK_DISPLAY_XDISPLAY (display), GDK_WINDOW_XID (window),
|
XGetWindowProperty (GDK_DISPLAY_XDISPLAY (display), GDK_WINDOW_XID (window),
|
||||||
gdk_x11_get_xatom_by_name_for_display (display, "_NET_WM_STATE"),
|
gdk_x11_get_xatom_by_name_for_display (display, "_NET_WM_STATE"),
|
||||||
0, G_MAXLONG, False, XA_ATOM, &type, &format, &nitems,
|
0, G_MAXLONG, False, XA_ATOM, &type, &format, &nitems,
|
||||||
|
Loading…
Reference in New Issue
Block a user