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); }