projects
/
mikachu
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92bc846
)
dont let maximizing occur if the window cant move or resize
author
Dana Jansens
<danakj@orodu.net>
Mon, 3 Feb 2003 10:50:14 +0000
(10:50 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Mon, 3 Feb 2003 10:50:14 +0000
(10:50 +0000)
src/client.cc
patch
|
blob
|
history
diff --git
a/src/client.cc
b/src/client.cc
index
1cbb860
..
95c4987
100644
(file)
--- a/
src/client.cc
+++ b/
src/client.cc
@@
-300,6
+300,10
@@
void Client::setupDecorAndFunctions()
}
}
+ // can't maximize without moving/resizing
+ if (!((_functions & Func_Move) && (_functions & Func_Resize)))
+ _functions &= ~Func_Maximize;
+
// finally, user specified disabled decorations are applied to subtract
// decorations
if (_disabled_decorations & Decor_Titlebar)