]> Dogcows Code - chaz/openbox/blobdiff - openbox/moveresize.c
remove the ob_root var, its redundant of what Xlib already provides
[chaz/openbox] / openbox / moveresize.c
index 97837295d9e6df8a7b7ff99e5fbc9ee61d571afd..96eac5cff418f2f116a0ee6d170050577ab12988 100644 (file)
@@ -42,7 +42,9 @@ void moveresize_startup()
     popup_size_to_string(popup, "W:  0000  W:  0000");
 
     attrib.save_under = True;
-    opaque_window.win = XCreateWindow(ob_display, ob_root, 0, 0, 1, 1, 0,
+    opaque_window.win = XCreateWindow(ob_display,
+                                      RootWindow(ob_display, ob_screen),
+                                      0, 0, 1, 1, 0,
                                       RrDepth(ob_rr_inst), InputOutput,
                                       RrVisual(ob_rr_inst),
                                       CWSaveUnder, &attrib);
This page took 0.023748 seconds and 4 git commands to generate.