dont show the focus popup when theres no target client
authorDana Jansens <danakj@orodu.net>
Wed, 9 Apr 2003 17:40:14 +0000 (17:40 +0000)
committerDana Jansens <danakj@orodu.net>
Wed, 9 Apr 2003 17:40:14 +0000 (17:40 +0000)
openbox/action.c

index 50b1e54..a9c7737 100644 (file)
@@ -750,6 +750,6 @@ void action_cycle_windows(union ActionData *data)
     
     c = focus_cycle(data->cycle.forward, data->cycle.linear, data->cycle.final,
                     data->cycle.cancel);
-    popup_cycle(c, !c && (data->cycle.final||data->cycle.cancel));
+    popup_cycle(c, !c || data->cycle.final || data->cycle.cancel);
 }