]> Dogcows Code - chaz/openbox/blobdiff - openbox/client.c
translate sendtodesktop actions
[chaz/openbox] / openbox / client.c
index eddd96c427dc1de5cc08381133ce82aa26071790..95d1e97e1539613eb1c7b4c19a33017fac88fa2d 100644 (file)
@@ -1721,7 +1721,9 @@ void client_set_desktop(Client *self, guint target, gboolean donthide)
     /* 'move' the window to the new desktop */
     if (!donthide)
         client_showhide(self);
-    stacking_raise(self);
+    /* raise if it was not already on the desktop */
+    if (old != DESKTOP_ALL)
+        stacking_raise(self);
     screen_update_struts();
 
     /* update the focus lists */
This page took 0.021221 seconds and 4 git commands to generate.