summaryrefslogtreecommitdiff
path: root/src/core/window-props.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/window-props.c')
-rw-r--r--src/core/window-props.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/core/window-props.c b/src/core/window-props.c
index 0b42e569..fcd1e90e 100644
--- a/src/core/window-props.c
+++ b/src/core/window-props.c
@@ -1163,13 +1163,6 @@ meta_set_normal_hints (MetaWindow *window,
w = window->size_hints.width;
h = window->size_hints.height;
- /* as far as I can tell, value->v.size_hints.flags is just to
- * check whether we had old-style normal hints without gravity,
- * base size as returned by XGetNormalHints(), so we don't
- * really use it as we fixup window->size_hints to have those
- * fields if they're missing.
- */
-
/*
* When the window is first created, NULL hints will
* be passed in which will initialize all of the fields
@@ -1499,7 +1492,7 @@ reload_normal_hints (MetaWindow *window,
old_hints = window->size_hints;
- meta_set_normal_hints (window, value->v.size_hints.hints);
+ meta_set_normal_hints (window, value->v.size_hints);
spew_size_hints_differences (&old_hints, &window->size_hints);