summaryrefslogtreecommitdiff
path: root/openbox/focus.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-03-02 22:06:13 +0000
committerDana Jansens <danakj@orodu.net>2007-03-02 22:06:13 +0000
commitde383f35f792e05259da42263fb8b1dba7d2a3f5 (patch)
tree49d580f71796cc26ebd59521a8bd644186de8981 /openbox/focus.c
parent140c5313cfe38aada8bd15892f74fc0d21d374c1 (diff)
no more using SaveUnder for our openbox-specific windows. it makes things actually slow down, believe it or not!
Diffstat (limited to 'openbox/focus.c')
-rw-r--r--openbox/focus.c13
1 files changed, 4 insertions, 9 deletions
diff --git a/openbox/focus.c b/openbox/focus.c
index 9de0c808..edd26b69 100644
--- a/openbox/focus.c
+++ b/openbox/focus.c
@@ -87,25 +87,20 @@ 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 | CWSaveUnder,
- &attr);
+ CWOverrideRedirect | CWBackPixel, &attr);
focus_indicator.left.win =
createWindow(RootWindow(ob_display, ob_screen),
- CWOverrideRedirect | CWBackPixel | CWSaveUnder,
- &attr);
+ CWOverrideRedirect | CWBackPixel, &attr);
focus_indicator.right.win =
createWindow(RootWindow(ob_display, ob_screen),
- CWOverrideRedirect | CWBackPixel | CWSaveUnder,
- &attr);
+ CWOverrideRedirect | CWBackPixel, &attr);
focus_indicator.bottom.win =
createWindow(RootWindow(ob_display, ob_screen),
- CWOverrideRedirect | CWBackPixel | CWSaveUnder,
- &attr);
+ CWOverrideRedirect | CWBackPixel, &attr);
stacking_add(INTERNAL_AS_WINDOW(&focus_indicator.top));
stacking_add(INTERNAL_AS_WINDOW(&focus_indicator.left));