]> Dogcows Code - chaz/openbox/blobdiff - openbox/actions/desktop.c
Merge branch 'backport'
[chaz/openbox] / openbox / actions / desktop.c
index 0620c453b191dc694ecd30b7b5632c38e11284ff..75949be2e5fc2d1c40622f07e87a75b676a2a461 100644 (file)
@@ -122,7 +122,7 @@ static gboolean run_func(ObActionsData *data, gpointer options)
     Options *o = options;
     guint d;
 
-    
+
 
     switch (o->type) {
     case LAST:
@@ -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;
     }
 
This page took 0.022521 seconds and 4 git commands to generate.