projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34ed8c1
)
dont show a handle if it cant be resized at all
author
Dana Jansens
<danakj@orodu.net>
Wed, 29 Jan 2003 22:41:43 +0000
(22:41 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Wed, 29 Jan 2003 22:41:43 +0000
(22:41 +0000)
src/client.cc
patch
|
blob
|
history
diff --git
a/src/client.cc
b/src/client.cc
index 4c7de05900a626b2975578feb30cc2093f86d516..e55f681f58a7edaba152905dd4f23d8908f3fe30 100644
(file)
--- a/
src/client.cc
+++ b/
src/client.cc
@@
-220,7
+220,7
@@
void Client::setupDecorAndFunctions()
_functions |= Func_Close;
}
- if (
_min_size.x() > _max_size.x() || _min_size.y() > _max_size.y(
)) {
+ if (
!(_min_size.x() < _max_size.x() || _min_size.y() < _max_size.y()
)) {
_decorations &= ~(Decor_Maximize | Decor_Handle);
_functions &= ~(Func_Resize | Func_Maximize);
}