make desktop cycling work properly when non-interactive

This commit is contained in:
Dana Jansens 2003-08-31 18:53:23 +00:00
parent 829a9fafd4
commit 75c8bec464

View 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) {