Bug 522269 - Evince windows sometimes incorrectly unmaximized, caused by
2008-05-25 Cody Russell <bratsche@gnome.org> 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. svn path=/trunk/; revision=20163
This commit is contained in:
committed by
Cody Russell
parent
cd7376dd5e
commit
030ff5b10a
@ -1,3 +1,11 @@
|
|||||||
|
2008-05-25 Cody Russell <bratsche@gnome.org>
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
2008-05-25 Cody Russell <bratsche@gnome.org>
|
2008-05-25 Cody Russell <bratsche@gnome.org>
|
||||||
|
|
||||||
Bug 534463 - non-editable GtkTextView should not call
|
Bug 534463 - non-editable GtkTextView should not call
|
||||||
|
|||||||
@ -1314,6 +1314,7 @@ set_initial_hints (GdkWindow *window)
|
|||||||
atoms[i] = gdk_x11_get_xatom_by_name_for_display (display,
|
atoms[i] = gdk_x11_get_xatom_by_name_for_display (display,
|
||||||
"_NET_WM_STATE_MAXIMIZED_HORZ");
|
"_NET_WM_STATE_MAXIMIZED_HORZ");
|
||||||
++i;
|
++i;
|
||||||
|
toplevel->have_maxhorz = toplevel->have_maxvert = TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (private->state & GDK_WINDOW_STATE_ABOVE)
|
if (private->state & GDK_WINDOW_STATE_ABOVE)
|
||||||
@ -1335,6 +1336,7 @@ set_initial_hints (GdkWindow *window)
|
|||||||
atoms[i] = gdk_x11_get_xatom_by_name_for_display (display,
|
atoms[i] = gdk_x11_get_xatom_by_name_for_display (display,
|
||||||
"_NET_WM_STATE_STICKY");
|
"_NET_WM_STATE_STICKY");
|
||||||
++i;
|
++i;
|
||||||
|
toplevel->have_sticky = TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (private->state & GDK_WINDOW_STATE_FULLSCREEN)
|
if (private->state & GDK_WINDOW_STATE_FULLSCREEN)
|
||||||
@ -1342,6 +1344,7 @@ set_initial_hints (GdkWindow *window)
|
|||||||
atoms[i] = gdk_x11_get_xatom_by_name_for_display (display,
|
atoms[i] = gdk_x11_get_xatom_by_name_for_display (display,
|
||||||
"_NET_WM_STATE_FULLSCREEN");
|
"_NET_WM_STATE_FULLSCREEN");
|
||||||
++i;
|
++i;
|
||||||
|
toplevel->have_fullscreen = TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (private->modal_hint)
|
if (private->modal_hint)
|
||||||
@ -1388,6 +1391,7 @@ set_initial_hints (GdkWindow *window)
|
|||||||
gdk_x11_get_xatom_by_name_for_display (display, "_NET_WM_DESKTOP"),
|
gdk_x11_get_xatom_by_name_for_display (display, "_NET_WM_DESKTOP"),
|
||||||
XA_CARDINAL, 32, PropModeReplace,
|
XA_CARDINAL, 32, PropModeReplace,
|
||||||
(guchar*) atoms, 1);
|
(guchar*) atoms, 1);
|
||||||
|
toplevel->on_all_desktops = TRUE;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user