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
|
void
|
||||||
wKWMSendStacking(WScreen *scr, Window module)
|
wKWMSendStacking(WScreen *scr, Window module)
|
||||||
{
|
{
|
||||||
int i;
|
WMBagIterate i;
|
||||||
WCoreWindow *core;
|
WCoreWindow *core;
|
||||||
|
|
||||||
for (i = 0; i < MAX_WINDOW_LEVELS; i++) {
|
WM_ITERATE_BAG(scr->stacking_list, core, i) {
|
||||||
for (core = scr->stacking_list[i]; core != NULL;
|
for (; core != NULL; core = core->stacking->under) {
|
||||||
core = core->stacking->under) {
|
|
||||||
WWindow *wwin;
|
WWindow *wwin;
|
||||||
|
|
||||||
wwin = wWindowFor(core->window);
|
wwin = wWindowFor(core->window);
|
||||||
|
|||||||
Reference in New Issue
Block a user