fix directionalcycle/target

This commit is contained in:
Dana Jansens 2007-07-13 17:25:54 -04:00
parent f5b6ee7453
commit 4dbce5e505

View 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;