]> Dogcows Code - chaz/openbox/blobdiff - openbox/client.c
we put desktop windows on all desktops so dont let them move.
[chaz/openbox] / openbox / client.c
index 2f97077e05776124429276c404e4785a3edbd90c..94b5c4800572850cd5c741e2b6819351f6a57e25 100644 (file)
@@ -649,6 +649,8 @@ void client_unmanage(ObClient *self)
         }
 
         self->fullscreen = self->max_horz = self->max_vert = FALSE;
+        /* let it be moved and resized no matter what */
+        self->functions = OB_CLIENT_FUNC_MOVE | OB_CLIENT_FUNC_RESIZE;
         self->decorations = 0; /* unmanaged windows have no decor */
 
         client_move_resize(self, a.x, a.y, a.width, a.height);
@@ -1641,6 +1643,7 @@ void client_setup_decor_and_functions(ObClient *self)
         /* these windows are not manipulated by the window manager */
         self->decorations = 0;
         self->functions = 0;
+        break;
 
     case OB_CLIENT_TYPE_DOCK:
         /* these windows are not manipulated by the window manager, but they
@@ -3096,7 +3099,7 @@ void client_set_desktop_recursive(ObClient *self,
     guint old;
     GSList *it;
 
-    if (target != self->desktop) {
+    if (target != self->desktop && self->type != OB_CLIENT_TYPE_DESKTOP) {
 
         ob_debug("Setting desktop %u\n", target+1);
 
This page took 0.023989 seconds and 4 git commands to generate.