From: Dana Jansens Date: Mon, 11 Jan 2010 20:35:47 +0000 (-0500) Subject: Make the focus cycle indicator follow target fallback in the popup X-Git-Tag: mikabox-3.5-7~349^2~7 X-Git-Url: http://git.openbox.org/?p=mikachu%2Fopenbox.git;a=commitdiff_plain;h=bd864012cd17f68c3a25ccfc2fc6cfd304c557f2 Make the focus cycle indicator follow target fallback in the popup --- diff --git a/openbox/focus_cycle.c b/openbox/focus_cycle.c index 4043668..da9cd4c 100644 --- a/openbox/focus_cycle.c +++ b/openbox/focus_cycle.c @@ -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();