From fdee06fe31e8a035febac3ee81bfb7e01304dfcb Mon Sep 17 00:00:00 2001 From: Maarten Maathuis Date: Tue, 10 Feb 2009 22:55:33 +0100 Subject: [PATCH] client: fix titlebar stacking Signed-off-by: Julien Danjou --- client.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/client.c b/client.c index d14f2904..ea107f6e 100644 --- a/client.c +++ b/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); 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; }