]> Dogcows Code - chaz/openbox/commitdiff
decor and functions set set right for !normal windows
authorDana Jansens <danakj@orodu.net>
Sat, 4 Jan 2003 07:36:29 +0000 (07:36 +0000)
committerDana Jansens <danakj@orodu.net>
Sat, 4 Jan 2003 07:36:29 +0000 (07:36 +0000)
src/client.cc

index 95d1509562d114b6a7861d10807a7973ac10e31c..ddc083fa075392e93ce7e5b56b9d0e4994abe337 100644 (file)
@@ -48,13 +48,13 @@ OBClient::OBClient(int screen, Window window)
   getType();
 
   // set the decorations and functions
+  _decorations = Decor_Titlebar | Decor_Handle | Decor_Border |
+    Decor_Iconify | Decor_Maximize;
+  _functions = Func_Resize | Func_Move | Func_Iconify | Func_Maximize;
   switch (_type) {
   case Type_Normal:
     // normal windows retain all of the possible decorations and
     // functionality
-    _decorations = Decor_Titlebar | Decor_Handle | Decor_Border |
-                   Decor_Iconify | Decor_Maximize;
-    _functions = Func_Resize | Func_Move | Func_Iconify | Func_Maximize;
 
   case Type_Dialog:
     // dialogs cannot be maximized
This page took 0.023123 seconds and 4 git commands to generate.