]> Dogcows Code - chaz/openbox/blobdiff - openbox/popup.c
make an obt_root() macro
[chaz/openbox] / openbox / popup.c
index 21beda58faccbd04d4c7c17d44f2de0c1c466abe..d9a52145554dd13d6cfe6e6742d3c08e4e163049 100644 (file)
@@ -41,7 +41,7 @@ ObPopup *popup_new(void)
     self->iconwm = self->iconhm = 1;
 
     attrib.override_redirect = True;
-    self->bg = XCreateWindow(obt_display, RootWindow(obt_display, ob_screen),
+    self->bg = XCreateWindow(obt_display, obt_root(ob_screen),
                              0, 0, 1, 1, 0, RrDepth(ob_rr_inst),
                              InputOutput, RrVisual(ob_rr_inst),
                              CWOverrideRedirect, &attrib);
This page took 0.020771 seconds and 4 git commands to generate.