From: Dana Jansens Date: Sun, 21 Sep 2003 17:03:17 +0000 (+0000) Subject: dont drop out of dirfocus when there is no new target to be found X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=5f5160b40c89c28a7e86dc66c08d1788bb6b0f1d;p=chaz%2Fopenbox dont drop out of dirfocus when there is no new target to be found --- diff --git a/openbox/focus.c b/openbox/focus.c index 36ccbea3..523c7b5d 100644 --- a/openbox/focus.c +++ b/openbox/focus.c @@ -398,11 +398,14 @@ void focus_directional_cycle(ObDirection dir, focus_cycle_target = ft; frame_adjust_focus(focus_cycle_target->frame, TRUE); } - popup_cycle(ft, dialog); + } + if (focus_cycle_target) { + popup_cycle(focus_cycle_target, dialog); if (dialog) return; } + done_cycle: if (done && focus_cycle_target) client_activate(focus_cycle_target, FALSE);