summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlberts Muktupāvels <[email protected]>2014-10-31 19:18:18 +0200
committermonsta <[email protected]>2015-10-26 11:02:58 +0300
commiteceb8d7994859c4ebbee493539a6ce6fd2842e50 (patch)
tree9d5674cbf36f50205e562f6126623d3aeab570a4
parent4007ca1c695c84a3a82d1fcdf81950d4062ccdf0 (diff)
downloadmarco-eceb8d7994859c4ebbee493539a6ce6fd2842e50.tar.bz2
marco-eceb8d7994859c4ebbee493539a6ce6fd2842e50.tar.xz
window: initialize custom_frame_extents
-rw-r--r--src/core/window.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/window.c b/src/core/window.c
index 30ebfa85..8ff97920 100644
--- a/src/core/window.c
+++ b/src/core/window.c
@@ -437,6 +437,12 @@ meta_window_new_with_attrs (MetaDisplay *display,
/* initialize the remaining size_hints as if size_hints.flags were zero */
meta_set_normal_hints (window, NULL);
+ window->has_custom_frame_extents = FALSE;
+ window->custom_frame_extents.left = 0;
+ window->custom_frame_extents.right = 0;
+ window->custom_frame_extents.top = 0;
+ window->custom_frame_extents.bottom = 0;
+
/* And this is our unmaximized size */
window->saved_rect = window->rect;
window->user_rect = window->rect;