]> Dogcows Code - chaz/openbox/commitdiff
dont show a handle if it cant be resized
authorDana Jansens <danakj@orodu.net>
Wed, 29 Jan 2003 22:37:42 +0000 (22:37 +0000)
committerDana Jansens <danakj@orodu.net>
Wed, 29 Jan 2003 22:37:42 +0000 (22:37 +0000)
src/client.cc

index 4637307767b3aa7bb8b2810f72c8216ee229db54..4c7de05900a626b2975578feb30cc2093f86d516 100644 (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);
   }
   
This page took 0.025131 seconds and 4 git commands to generate.