mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-03 12:24:17 +01:00
wmaker: fixed infinite loop in switching within group
This commit is contained in:
committed by
Carlos R. Mafra
parent
1f74d4698c
commit
88393f4a6c
@@ -366,8 +366,10 @@ static WMArray *makeWindowListArray(WScreen *scr, int include_unmapped, Bool cla
|
|||||||
if ((canReceiveFocus(wwin) != 0) &&
|
if ((canReceiveFocus(wwin) != 0) &&
|
||||||
(wwin->flags.mapped || wwin->flags.shaded || include_unmapped)) {
|
(wwin->flags.mapped || wwin->flags.shaded || include_unmapped)) {
|
||||||
if (class_only)
|
if (class_only)
|
||||||
if (!sameWindowClass(scr->focused_window, wwin))
|
if (!sameWindowClass(scr->focused_window, wwin)) {
|
||||||
|
wwin = wwin->prev;
|
||||||
continue;
|
continue;
|
||||||
|
}
|
||||||
if (!WFLAGP(wwin, skip_switchpanel))
|
if (!WFLAGP(wwin, skip_switchpanel))
|
||||||
WMAddToArray(windows, wwin);
|
WMAddToArray(windows, wwin);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user