client: fix ontop wibox stacking

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-11-03 16:54:13 +01:00
parent 3e97d5ff13
commit 42d7bd49ab
1 changed files with 1 additions and 1 deletions

View File

@ -335,7 +335,7 @@ client_stack()
/* then stack ontop wibox window */
for(screen = 0; screen < globalconf.nscreen; screen++)
for(int i = globalconf.screens[screen].wiboxes.len - 1; i > 0; i--)
for(int i = 0; i < globalconf.screens[screen].wiboxes.len; i++)
{
wibox_t *sb = globalconf.screens[screen].wiboxes.tab[i];
if(sb->ontop)