summaryrefslogtreecommitdiff
path: root/openbox/screen.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-08-30 16:58:30 +0000
committerDana Jansens <danakj@orodu.net>2003-08-30 16:58:30 +0000
commit2c6c0757fa497f4c1e0648bcbb1927c0fa12862f (patch)
tree16b71b97f63b2877fc9d62690f41cd5de42dbf55 /openbox/screen.c
parent009685bc4630a5deb3a48179450fb18e619c6e04 (diff)
make interactive actions a type and not special cases.
add the <interactive> option to them to turn off interactivity
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;
}