mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-29 18:02:34 +01:00
fixed MAX_WINDOW_LEVEL oops
This commit is contained in:
@@ -643,12 +643,11 @@ wKWMInitStuff(WScreen *scr)
|
||||
void
|
||||
wKWMSendStacking(WScreen *scr, Window module)
|
||||
{
|
||||
int i;
|
||||
WMBagIterate i;
|
||||
WCoreWindow *core;
|
||||
|
||||
for (i = 0; i < MAX_WINDOW_LEVELS; i++) {
|
||||
for (core = scr->stacking_list[i]; core != NULL;
|
||||
core = core->stacking->under) {
|
||||
WM_ITERATE_BAG(scr->stacking_list, core, i) {
|
||||
for (; core != NULL; core = core->stacking->under) {
|
||||
WWindow *wwin;
|
||||
|
||||
wwin = wWindowFor(core->window);
|
||||
|
||||
Reference in New Issue
Block a user