summaryrefslogtreecommitdiff
path: root/openbox/slit.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-05-16 15:16:33 +0000
committerDana Jansens <danakj@orodu.net>2003-05-16 15:16:33 +0000
commit6e42b65bda1706887f3b2a7f9d79ba20f7611a06 (patch)
tree790648f8c601bb3009bf4d23500f859f22466492 /openbox/slit.c
parent8367ab14e82ac23d9cf9eed6fa9d355becea154c (diff)
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.
Diffstat (limited to 'openbox/slit.c')
-rw-r--r--openbox/slit.c2
1 files changed, 1 insertions, 1 deletions
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]));
}
}