summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorElijah Newren <newren@gmail.com>2005-02-05 03:02:42 +0000
committerElijah Newren <newren@src.gnome.org>2005-02-05 03:02:42 +0000
commit84312194e8df8dcfa160622ee55895ee8e988374 (patch)
tree1f8c5e5eeb5f954fbce4aa138bfd6d27241620e8 /src
parent58b323e4cc655726773197e1cfa982c3ada4597f (diff)
downloadmetacity-84312194e8df8dcfa160622ee55895ee8e988374.tar.gz
Make sure window->border_only is initialized so we don't get random
2005-02-04 Elijah Newren <newren@gmail.com> Make sure window->border_only is initialized so we don't get random windows without decorations. Thanks to Sinisa Segvic and Owen Taylor for providing test cases. Fixes #145131. * src/window.c: (update_mwm_hints): Be sure to call recalc_window_features even if no MWM hints are set
Diffstat (limited to 'src')
-rw-r--r--src/window.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/window.c b/src/window.c
index 8416444d..8317dd78 100644
--- a/src/window.c
+++ b/src/window.c
@@ -4655,6 +4655,7 @@ update_mwm_hints (MetaWindow *window)
&hints))
{
meta_verbose ("Window %s has no MWM hints\n", window->desc);
+ recalc_window_features (window);
return;
}