client: fix titlebar stacking

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Maarten Maathuis 2009-02-10 22:55:33 +01:00 committed by Julien Danjou
parent 8e58460109
commit fdee06fe31
1 changed files with 1 additions and 5 deletions

View File

@ -311,11 +311,7 @@ client_stack_above(client_t *c, xcb_window_t previous)
for(client_node_t *node = *client_node_list_last(&globalconf.stack);
node; node = node->prev)
if(node->client->transient_for == c)
{
client_stack_above(node->client,
previous);
previous = node->client->win;
}
previous = client_stack_above(node->client, previous);
return previous;
}