1
0
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:
kojima
2000-03-30 03:28:32 +00:00
parent f65c549814
commit c6498bebd8

View File

@@ -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);