Commit 6717e38c authored by Martin Wimpress's avatar Martin Wimpress

Added a patch to ensure mate-maximus undecorates maximized windows when the option is set.

parent a1f7c7ea
From 90cfdef36b1140f7f75ada67ea0f22fe0d4d7f79 Mon Sep 17 00:00:00 2001
From: Monsta <monsta@inbox.ru>
Date: Fri, 9 Jan 2015 23:40:09 +0300
Subject: [PATCH] mate-maximus: respect "undecorate" setting, goddammit
---
maximus/maximus-app.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 ();
0001_respect_undecorate_setting.patch
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment