summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMonsta <[email protected]>2015-01-09 23:40:09 +0300
committerStefano Karapetsas <[email protected]>2015-03-13 08:39:56 +0100
commit64c5c10da5422c3d9dea28f35008e64a177928fb (patch)
tree18303896211dc3ec2306292d946b41f0f22ceae2
parentf9286a592be7f92d1e0eadb68a5fa5c87c4c546c (diff)
downloadmate-netbook-64c5c10da5422c3d9dea28f35008e64a177928fb.tar.bz2
mate-netbook-64c5c10da5422c3d9dea28f35008e64a177928fb.tar.xz
mate-maximus: respect "undecorate" setting
-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 ();