always show the client on desktop change, only use donthide to not hide it
authorDana Jansens <danakj@orodu.net>
Wed, 13 Jun 2007 17:18:57 +0000 (17:18 +0000)
committerDana Jansens <danakj@orodu.net>
Wed, 13 Jun 2007 17:18:57 +0000 (17:18 +0000)
openbox/client.c

index f8ebd13..a128d9e 100644 (file)
@@ -3260,7 +3260,8 @@ void client_set_desktop_recursive(ObClient *self,
         frame_adjust_state(self->frame);
         /* 'move' the window to the new desktop */
         if (!donthide)
-            client_showhide(self);
+            client_hide(self);
+        client_show(self);
         /* raise if it was not already on the desktop */
         if (old != DESKTOP_ALL && !dontraise)
             stacking_raise(CLIENT_AS_WINDOW(self));