]> Dogcows Code - chaz/openbox/commitdiff
let you move splash screens if you are so inclined
authorDana Jansens <danakj@orodu.net>
Tue, 8 May 2007 22:56:29 +0000 (22:56 +0000)
committerDana Jansens <danakj@orodu.net>
Tue, 8 May 2007 22:56:29 +0000 (22:56 +0000)
openbox/client.c

index 0084588c4905e5c258a1a84c76da58e3d6ac38e5..8c8abee73ea2fb58572e4ef5a910550ec04c3420 100644 (file)
@@ -1599,10 +1599,15 @@ void client_setup_decor_and_functions(ObClient *self)
         self->functions &= ~(OB_CLIENT_FUNC_ICONIFY | OB_CLIENT_FUNC_RESIZE);
         break;
 
+    case OB_CLIENT_TYPE_SPLASH:
+        /* these don't get get any decorations, and the only thing you can
+           do with them is move them */
+        self->decorations = 0;
+        self->functions = OB_CLIENT_FUNC_MOVE;
+
     case OB_CLIENT_TYPE_DESKTOP:
     case OB_CLIENT_TYPE_DOCK:
-    case OB_CLIENT_TYPE_SPLASH:
-        /* none of these windows are manipulated by the window manager */
+        /* these windows are not manipulated by the window manager */
         self->decorations = 0;
         self->functions = 0;
         break;
This page took 0.028678 seconds and 4 git commands to generate.