summaryrefslogtreecommitdiff
path: root/maximus
diff options
context:
space:
mode:
authorMonsta <[email protected]>2015-01-09 23:40:09 +0300
committerinfirit <[email protected]>2015-01-10 18:27:35 +0100
commit9debdfd74098b6db239552a886951430f9311281 (patch)
treeb34d91a7b01cede3ac9d25ac6978b8fc331e9edb /maximus
parent05b4e46fe51eab6604648e706a6130a709ea8081 (diff)
downloadmate-netbook-9debdfd74098b6db239552a886951430f9311281.tar.bz2
mate-netbook-9debdfd74098b6db239552a886951430f9311281.tar.xz
mate-maximus: respect "undecorate" setting
Diffstat (limited to 'maximus')
-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 ();