summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlberts Muktupāvels <alberts.muktupavels@gmail.com>2014-10-31 19:18:18 +0200
committerAlberts Muktupāvels <alberts.muktupavels@gmail.com>2014-10-31 19:23:59 +0200
commitf205cdc1b809b424aa790a96d90c650fe8936ffc (patch)
tree66a5a84a622f8a5e19f2f2484be4ba9798c08d8f
parent6cba8a329208b597b15a4a7b3a702135df5313d8 (diff)
downloadmetacity-f205cdc1b809b424aa790a96d90c650fe8936ffc.tar.gz
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 83adc0a1..06e12462 100644
--- a/src/core/window.c
+++ b/src/core/window.c
@@ -434,6 +434,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;