gtk+ r20279 - in branches/gtk-2-12: . gdk/x11
- From: matthiasc svn gnome org
- To: svn-commits-list gnome org
- Subject: gtk+ r20279 - in branches/gtk-2-12: . gdk/x11
- Date: Mon, 2 Jun 2008 21:56:29 +0000 (UTC)
Author: matthiasc
Date: Mon Jun 2 21:56:29 2008
New Revision: 20279
URL: http://svn.gnome.org/viewvc/gtk+?rev=20279&view=rev
Log:
Bug 522269 - Evince windows sometimes incorrectly unmaximized,
caused by missing flag initialization
* gdk/x11/gdkwindow-x11.c (set_initial_hints): Initialize
top-level private flags correctly. Patch by Danny Baumann.
Modified:
branches/gtk-2-12/ChangeLog
branches/gtk-2-12/gdk/x11/gdkwindow-x11.c
Modified: branches/gtk-2-12/gdk/x11/gdkwindow-x11.c
==============================================================================
--- branches/gtk-2-12/gdk/x11/gdkwindow-x11.c (original)
+++ branches/gtk-2-12/gdk/x11/gdkwindow-x11.c Mon Jun 2 21:56:29 2008
@@ -1326,6 +1326,7 @@
atoms[i] = gdk_x11_get_xatom_by_name_for_display (display,
"_NET_WM_STATE_MAXIMIZED_HORZ");
++i;
+ toplevel->have_maxhorz = toplevel->have_maxvert = TRUE;
}
if (private->state & GDK_WINDOW_STATE_ABOVE)
@@ -1347,6 +1348,7 @@
atoms[i] = gdk_x11_get_xatom_by_name_for_display (display,
"_NET_WM_STATE_STICKY");
++i;
+ toplevel->have_sticky = TRUE;
}
if (private->state & GDK_WINDOW_STATE_FULLSCREEN)
@@ -1354,6 +1356,7 @@
atoms[i] = gdk_x11_get_xatom_by_name_for_display (display,
"_NET_WM_STATE_FULLSCREEN");
++i;
+ toplevel->have_fullscreen = TRUE;
}
if (private->modal_hint)
@@ -1400,6 +1403,7 @@
gdk_x11_get_xatom_by_name_for_display (display, "_NET_WM_DESKTOP"),
XA_CARDINAL, 32, PropModeReplace,
(guchar*) atoms, 1);
+ toplevel->on_all_desktops = TRUE;
}
else
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]