diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-01-29 22:41:43 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-01-29 22:41:43 +0000 |
| commit | a7ccc544500fe84e707f6e511261276b819d8906 (patch) | |
| tree | 83c3235aa0409203e3f120df8f0602b1b89ff361 /src/client.cc | |
| parent | 34ed8c17acb4916db160c152436f3b9745dd6576 (diff) | |
dont show a handle if it cant be resized at all
Diffstat (limited to 'src/client.cc')
| -rw-r--r-- | src/client.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client.cc b/src/client.cc index 4c7de059..e55f681f 100644 --- 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); } |
