From f1f946ea02814bc06f23d6b402d3e901cce13ee1 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 10 May 2007 20:23:27 +0000 Subject: stacking fixes for layers --- openbox/stacking.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openbox/stacking.c') diff --git a/openbox/stacking.c b/openbox/stacking.c index c4fb06a2..c9ca514b 100644 --- a/openbox/stacking.c +++ b/openbox/stacking.c @@ -426,7 +426,7 @@ void stacking_add_nonintrusive(ObWindow *win) } } if (!it_below) { - if (client == focus_client) { + if (client_search_transient(client, focus_client)) { /* it's focused so put it at the top */ stacking_list = g_list_append(stacking_list, win); stacking_raise(win); -- cgit v1.2.3