]> Dogcows Code - chaz/openbox/blobdiff - openbox/screen.c
don't raise windows when moving them between desktops in some cases
[chaz/openbox] / openbox / screen.c
index 92d4d9a421bac5db1a62a8b59fc81cc9fee8f6b4..3d3d73cd29f2f96aab8d66b1d9eca4e91301b212 100644 (file)
@@ -520,7 +520,7 @@ void screen_set_num_desktops(guint num)
     for (it = client_list; it; it = g_list_next(it)) {
         ObClient *c = it->data;
         if (c->desktop >= num && c->desktop != DESKTOP_ALL)
-            client_set_desktop(c, num - 1, FALSE);
+            client_set_desktop(c, num - 1, FALSE, TRUE);
     }
  
     /* change our struts/area to match (after moving windows) */
@@ -561,7 +561,7 @@ void screen_set_desktop(guint num, gboolean dofocus)
     ignore_start = event_start_ignore_all_enters();
 
     if (moveresize_client)
-        client_set_desktop(moveresize_client, num, TRUE);
+        client_set_desktop(moveresize_client, num, TRUE, FALSE);
 
     /* show windows before hiding the rest to lessen the enter/leave events */
 
This page took 0.023822 seconds and 4 git commands to generate.