make desktop cycling work properly when non-interactive
This commit is contained in:
parent
829a9fafd4
commit
75c8bec464
1 changed files with 1 additions and 2 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue