summaryrefslogtreecommitdiff
path: root/openbox/screen.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbox/screen.c')
-rw-r--r--openbox/screen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbox/screen.c b/openbox/screen.c
index 7913770c..a9efcd0e 100644
--- a/openbox/screen.c
+++ b/openbox/screen.c
@@ -584,7 +584,7 @@ static void popup_cycle(guint d, gboolean show)
}
guint screen_cycle_desktop(ObDirection dir, gboolean wrap, gboolean linear,
- gboolean done, gboolean cancel)
+ gboolean dialog, gboolean done, gboolean cancel)
{
static gboolean first = TRUE;
static gboolean lin;
@@ -682,7 +682,7 @@ guint screen_cycle_desktop(ObDirection dir, gboolean wrap, gboolean linear,
d = translate_row_col(r, c);
}
- if (config_desktop_popup) {
+ if (dialog) {
popup_cycle(d, TRUE);
return d;
}