client: make `ontop' windows under fullscreen

`ontop' wiboxes will also be on top of `ontop' clients.

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2009-01-30 10:47:54 +01:00
parent dd7abed683
commit f82ac1972f
1 changed files with 2 additions and 2 deletions

View File

@ -343,8 +343,8 @@ typedef enum
LAYER_BELOW, LAYER_BELOW,
LAYER_NORMAL, LAYER_NORMAL,
LAYER_ABOVE, LAYER_ABOVE,
LAYER_FULLSCREEN,
LAYER_ONTOP, LAYER_ONTOP,
LAYER_FULLSCREEN,
LAYER_OUTOFSPACE LAYER_OUTOFSPACE
} layer_t; } layer_t;
@ -447,7 +447,7 @@ client_stack()
} }
} }
/* finally stack ontop and fullscreen windows */ /* finally stack fullscreen windows */
for(layer = LAYER_FULLSCREEN; layer < LAYER_OUTOFSPACE; layer++) for(layer = LAYER_FULLSCREEN; layer < LAYER_OUTOFSPACE; layer++)
for(node = last; node; node = node->prev) for(node = last; node; node = node->prev)
if(client_layer_translator(node->client) == layer) if(client_layer_translator(node->client) == layer)