From 75c8bec464d73f6efe4d0ea3517fff6270f95a78 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sun, 31 Aug 2003 18:53:23 +0000 Subject: [PATCH] make desktop cycling work properly when non-interactive --- openbox/screen.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/openbox/screen.c b/openbox/screen.c index a9efcd0e..6f711ce8 100644 --- a/openbox/screen.c +++ b/openbox/screen.c @@ -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) { -- 2.45.2