summaryrefslogtreecommitdiff
path: root/openbox/actions
diff options
context:
space:
mode:
Diffstat (limited to 'openbox/actions')
-rw-r--r--openbox/actions/desktop.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/openbox/actions/desktop.c b/openbox/actions/desktop.c
index d3a0d0c3..75949be2 100644
--- a/openbox/actions/desktop.c
+++ b/openbox/actions/desktop.c
@@ -132,10 +132,8 @@ static gboolean run_func(ObActionsData *data, gpointer options)
d = o->abs.desktop;
break;
case RELATIVE:
- d = screen_cycle_desktop(o->rel.dir,
- o->rel.wrap,
- o->rel.linear,
- FALSE, TRUE, FALSE);
+ d = screen_find_desktop(screen_desktop,
+ o->rel.dir, o->rel.wrap, o->rel.linear);
break;
}