diff options
| author | Thaddaeus Tintenfisch <thad.fisch@gmail.com> | 2014-04-18 12:00:00 +0200 |
|---|---|---|
| committer | Simon Steinbeiss <simon.steinbeiss@elfenbeinturm.at> | 2014-12-01 16:21:23 +0100 |
| commit | 78b5c3c48a187ae54d97369a738b8a18e31e459a (patch) | |
| tree | a4c19aac6dd192771a755c9f0abd0dbea5cd344b | |
| parent | d577e6195478241241e534d92daffe34f69a088b (diff) | |
| download | xfwm4-78b5c3c48a187ae54d97369a738b8a18e31e459a.tar.gz | |
Remove maximize button from non-resizable windows Bug #10910
Signed-off-by: Simon Steinbeiss <simon.steinbeiss@elfenbeinturm.at>
| -rw-r--r-- | src/client.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/client.c b/src/client.c index 0e19fdb..8f19d7b 100644 --- a/src/client.c +++ b/src/client.c @@ -1149,6 +1149,10 @@ clientGetWMNormalHints (Client *c, gboolean update) { FLAG_SET (c->xfwm_flags, XFWM_FLAG_IS_RESIZABLE); } + else + { + FLAG_UNSET (c->xfwm_flags, XFWM_FLAG_HAS_MAXIMIZE | XFWM_FLAG_HAS_RESIZE); + } if (update) { |