summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--maximus/maximus-app.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/maximus/maximus-app.c b/maximus/maximus-app.c
index d824ad1..76aed8e 100644
--- a/maximus/maximus-app.c
+++ b/maximus/maximus-app.c
@@ -380,7 +380,7 @@ on_window_opened (WnckScreen *screen,
if (no_maximize || priv->no_maximize)
{
- if (wnck_window_is_maximized(window))
+ if (wnck_window_is_maximized(window) && priv->undecorate)
{
_window_set_decorations (window, 0);
gdk_flush ();