[mutter/wayland] window-props.c: React to changes to _GTK_FRAME_EXTENTS
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/wayland] window-props.c: React to changes to _GTK_FRAME_EXTENTS
- Date: Wed, 9 Apr 2014 20:04:29 +0000 (UTC)
commit ebbdfabed6922b650796a882324560441574d0c7
Author: Owen W. Taylor <otaylor fishsoup net>
Date: Fri Nov 22 08:57:44 2013 -0500
window-props.c: React to changes to _GTK_FRAME_EXTENTS
When _GTK_FRAME_EXTENTS changes, we need to redo constraints on
the window - this matters in particular if the toolkit removes
invisible borders when a window is maximized, since otherwise
the maximized window will be positioned as if it still has
invisible borders.
https://bugzilla.gnome.org/show_bug.cgi?id=714707
src/x11/window-props.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/x11/window-props.c b/src/x11/window-props.c
index 404e61b..7552251 100644
--- a/src/x11/window-props.c
+++ b/src/x11/window-props.c
@@ -316,6 +316,9 @@ reload_gtk_frame_extents (MetaWindow *window,
{
meta_window_set_custom_frame_extents (window, NULL);
}
+
+ if (!initial)
+ meta_window_queue(window, META_QUEUE_MOVE_RESIZE);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]