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 ea303d9..a1c4221 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 ();