X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;ds=sidebyside;f=openbox%2Ffocus.c;h=947c05be00793dcea194db96732f443e0781c82e;hb=ba38a0c856e9aaef01087802d552c45ccbd16b7e;hp=013474d779ccb08ad3d8f199d02c0235510b36ea;hpb=6a953c6a82e7b9f4a279070fd60035ef0375ba20;p=chaz%2Fopenbox 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));