From 6e42b65bda1706887f3b2a7f9d79ba20f7611a06 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Fri, 16 May 2003 15:16:33 +0000 Subject: add anotehr stacking_add function. make stacking_add take care of raising also. make new windows that dont get focus also not raise above the focused window. --- openbox/slit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openbox/slit.c') diff --git a/openbox/slit.c b/openbox/slit.c index 311cd6ac..81f0b897 100644 --- a/openbox/slit.c +++ b/openbox/slit.c @@ -48,7 +48,7 @@ void slit_startup() XSetWindowBorderWidth(ob_display, slit[i].frame, theme_bwidth); g_hash_table_insert(slit_map, &slit[i].frame, &slit[i]); - stacking_add(&slit[i]); + stacking_add(SLIT_AS_WINDOW(&slit[i])); stacking_raise(SLIT_AS_WINDOW(&slit[i])); } } -- cgit v1.2.3