]> Dogcows Code - chaz/openbox/commitdiff
fix directionalcycle/target
authorDana Jansens <danakj@orodu.net>
Fri, 13 Jul 2007 21:25:54 +0000 (17:25 -0400)
committerDana Jansens <danakj@orodu.net>
Fri, 13 Jul 2007 21:25:54 +0000 (17:25 -0400)
openbox/actions/directionalwindows.c

index 66c1a1628ff967187c53fa85567436f27b387033..884ebcb65274567308819cb7cbc0e59b8859fc26 100644 (file)
@@ -132,7 +132,7 @@ static gboolean run_func(ObActionsData *data, gpointer options)
 {
     Options *o = options;
 
-    if (o->interactive)
+    if (!o->interactive)
         end_cycle(FALSE, data->state, o);
     else {
         focus_directional_cycle(o->direction,
@@ -193,7 +193,7 @@ static void end_cycle(gboolean cancel, guint state, Options *o)
     ft = focus_directional_cycle(o->direction,
                                  o->dock_windows,
                                  o->desktop_windows,
-                                 TRUE,
+                                 o->interactive,
                                  o->dialog,
                                  TRUE, cancel);
     cycling = FALSE;
This page took 0.028193 seconds and 4 git commands to generate.