From: Dana Jansens Date: Wed, 29 Jan 2003 22:37:42 +0000 (+0000) Subject: dont show a handle if it cant be resized X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=34ed8c17acb4916db160c152436f3b9745dd6576;p=chaz%2Fopenbox dont show a handle if it cant be resized --- diff --git a/src/client.cc b/src/client.cc index 46373077..4c7de059 100644 --- a/src/client.cc +++ b/src/client.cc @@ -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); }