]> Dogcows Code - chaz/openbox/blobdiff - openbox/popup.c
remove the ob_root var, its redundant of what Xlib already provides
[chaz/openbox] / openbox / popup.c
index ba1aed0b4fbdd388560fe9787f126142bdc8f62c..cc4a605d42e419a320f962b9ff4144c8062e1f34 100644 (file)
@@ -42,7 +42,7 @@ Popup *popup_new(gboolean hasicon)
     self->a_bg = self->a_icon = self->a_text = NULL;
 
     attrib.override_redirect = True;
-    self->bg = XCreateWindow(ob_display, ob_root,
+    self->bg = XCreateWindow(ob_display, RootWindow(ob_display, ob_screen),
                              0, 0, 1, 1, 0, RrDepth(ob_rr_inst),
                              InputOutput, RrVisual(ob_rr_inst),
                              CWOverrideRedirect, &attrib);
This page took 0.022383 seconds and 4 git commands to generate.