From ba38a0c856e9aaef01087802d552c45ccbd16b7e Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sun, 12 Oct 2003 23:44:21 +0000 Subject: [PATCH 1/1] make em saveunder --- openbox/focus.c | 13 +++++++++---- 1 file 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)); -- 2.44.0