dont show a handle if it cant be resized

This commit is contained in:
Dana Jansens 2003-01-29 22:37:42 +00:00
parent 81144d932a
commit 34ed8c17ac

View file

@ -221,7 +221,7 @@ void Client::setupDecorAndFunctions()
}
if (_min_size.x() > _max_size.x() || _min_size.y() > _max_size.y()) {
_decorations &= ~Decor_Maximize;
_decorations &= ~(Decor_Maximize | Decor_Handle);
_functions &= ~(Func_Resize | Func_Maximize);
}