When a window is the focus target and it is removed from the focus order, reset the...
authorDana Jansens <danakj@orodu.net>
Mon, 1 Oct 2012 03:42:16 +0000 (23:42 -0400)
committerDana Jansens <danakj@orodu.net>
Sun, 7 Oct 2012 02:30:02 +0000 (22:30 -0400)
commit56a0993300e6b4939b2c4eae1cf4d444732cd043
treef78153a843cf2754807c881324e574da71513757
parent2391410e3fd7767e266c0efe84fd34244ea29dc6
When a window is the focus target and it is removed from the focus order, reset the focus cycling (Fix bug 5410)

We were only doing this if a dialog was showing. But if it's the target, then
a dialog is not relevant, we should always recompute the focus cycling. This
avoids a crash when not using a dialog and closing a window during cycling.
openbox/focus_cycle.c