make desktop cycling work properly when non-interactive
authorDana Jansens <danakj@orodu.net>
Sun, 31 Aug 2003 18:53:23 +0000 (18:53 +0000)
committerDana Jansens <danakj@orodu.net>
Sun, 31 Aug 2003 18:53:23 +0000 (18:53 +0000)
openbox/screen.c

index a9efcd0..6f711ce 100644 (file)
@@ -594,8 +594,7 @@ guint screen_cycle_desktop(ObDirection dir, gboolean wrap, gboolean linear,
     if (cancel) {
         d = origd;
         goto done_cycle;
-    } else if (done) {
-        screen_set_desktop(d);
+    } else if (done && dialog) {
         goto done_cycle;
     }
     if (first) {