fix assert happening by combining interactive and non-interactive actions
This commit is contained in:
parent
1ec4c3dfa8
commit
f969415426
1 changed files with 3 additions and 2 deletions
|
@ -659,11 +659,12 @@ guint screen_cycle_desktop(ObDirection dir, gboolean wrap, gboolean linear,
|
|||
static guint d = (guint)-1;
|
||||
guint ret;
|
||||
|
||||
if (d == (guint)-1)
|
||||
d = screen_desktop;
|
||||
|
||||
if ((cancel || done) && dialog)
|
||||
goto show_cycle_dialog;
|
||||
|
||||
if (d == (guint)-1)
|
||||
d = screen_desktop;
|
||||
get_row_col(d, &r, &c);
|
||||
|
||||
if (linear) {
|
||||
|
|
Loading…
Reference in a new issue