summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlberts Muktupāvels <[email protected]>2014-10-31 19:18:18 +0200
committerWolfgang Ulbrich <[email protected]>2015-10-26 15:12:02 +0100
commitb93893ae50891b4eecbb1c2e4e8e380f5d307833 (patch)
tree52ca2354f28ee9bdaf96ea392c1fd8c6f1a3f4a1
parenta98e4ba48fd8b3812c09e818987c8e34412ada9a (diff)
downloadmarco-b93893ae50891b4eecbb1c2e4e8e380f5d307833.tar.bz2
marco-b93893ae50891b4eecbb1c2e4e8e380f5d307833.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 9e780390..d43b367f 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;