mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-24 23:22:30 +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) &&
|
||||
(wwin->flags.mapped || wwin->flags.shaded || include_unmapped)) {
|
||||
if (class_only)
|
||||
if (!sameWindowClass(scr->focused_window, wwin))
|
||||
if (!sameWindowClass(scr->focused_window, wwin)) {
|
||||
wwin = wwin->prev;
|
||||
continue;
|
||||
}
|
||||
if (!WFLAGP(wwin, skip_switchpanel))
|
||||
WMAddToArray(windows, wwin);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user