summaryrefslogtreecommitdiff
path: root/openbox
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-10-12 23:44:21 +0000
committerDana Jansens <danakj@orodu.net>2003-10-12 23:44:21 +0000
commitba38a0c856e9aaef01087802d552c45ccbd16b7e (patch)
treeb709d5fdf2831077e24a0730bf0618a0ec0a6e9d /openbox
parent6a953c6a82e7b9f4a279070fd60035ef0375ba20 (diff)
make em saveunder
Diffstat (limited to 'openbox')
-rw-r--r--openbox/focus.c13
1 files changed, 9 insertions, 4 deletions
diff --git a/openbox/focus.c b/openbox/focus.c
index 013474d7..947c05be 100644
--- a/openbox/focus.c
+++ b/openbox/focus.c
@@ -86,20 +86,25 @@ void focus_startup(gboolean reconfig)
focus_indicator.right.obwin.type = Window_Internal;
focus_indicator.bottom.obwin.type = Window_Internal;
+ attr.save_under = True;
attr.override_redirect = True;
attr.background_pixel = BlackPixel(ob_display, ob_screen);
focus_indicator.top.win =
createWindow(RootWindow(ob_display, ob_screen),
- CWOverrideRedirect | CWBackPixel, &attr);
+ CWOverrideRedirect | CWBackPixel | CWSaveUnder,
+ &attr);
focus_indicator.left.win =
createWindow(RootWindow(ob_display, ob_screen),
- CWOverrideRedirect | CWBackPixel, &attr);
+ CWOverrideRedirect | CWBackPixel | CWSaveUnder,
+ &attr);
focus_indicator.right.win =
createWindow(RootWindow(ob_display, ob_screen),
- CWOverrideRedirect | CWBackPixel, &attr);
+ CWOverrideRedirect | CWBackPixel | CWSaveUnder,
+ &attr);
focus_indicator.bottom.win =
createWindow(RootWindow(ob_display, ob_screen),
- CWOverrideRedirect | CWBackPixel, &attr);
+ CWOverrideRedirect | CWBackPixel | CWSaveUnder,
+ &attr);
stacking_add(INTERNAL_AS_WINDOW(&focus_indicator.top));
stacking_add(INTERNAL_AS_WINDOW(&focus_indicator.left));