Make the focus cycle indicator follow target fallback in the popup
authorDana Jansens <danakj@orodu.net>
Mon, 11 Jan 2010 20:35:47 +0000 (15:35 -0500)
committerDana Jansens <danakj@orodu.net>
Mon, 11 Jan 2010 20:35:47 +0000 (15:35 -0500)
openbox/focus_cycle.c

index 4043668..da9cd4c 100644 (file)
@@ -75,10 +75,8 @@ void focus_cycle_addremove(ObClient *c, gboolean redraw)
         v = focus_cycle_valid(c);
         s = focus_cycle_popup_is_showing(c);
 
-        if (v != s) {
-            focus_cycle_target =
-                focus_cycle_popup_refresh(focus_cycle_target, redraw);
-        }
+        if (v != s)
+            focus_cycle_reorder();
     }
     else if (redraw) {
         focus_cycle_reorder();