client: fix titlebar stacking
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
8e58460109
commit
fdee06fe31
6
client.c
6
client.c
|
@ -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);
|
for(client_node_t *node = *client_node_list_last(&globalconf.stack);
|
||||||
node; node = node->prev)
|
node; node = node->prev)
|
||||||
if(node->client->transient_for == c)
|
if(node->client->transient_for == c)
|
||||||
{
|
previous = client_stack_above(node->client, previous);
|
||||||
client_stack_above(node->client,
|
|
||||||
previous);
|
|
||||||
previous = node->client->win;
|
|
||||||
}
|
|
||||||
|
|
||||||
return previous;
|
return previous;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue