]> Dogcows Code - chaz/openbox/blobdiff - openbox/moveresize.c
fixed to accomodate the changes to the render/ API.
[chaz/openbox] / openbox / moveresize.c
index 9a1b4319220cf0a0d1d307d1dd3a4e9c77d4be15..4b1ee6ea0db8995a30bdce42d5687ae02d456a79 100644 (file)
@@ -53,9 +53,10 @@ void moveresize_startup()
 
     attrib.save_under = True;
     opaque_window.win = XCreateWindow(ob_display, ob_root, 0, 0, 1, 1, 0,
-                                      render_depth, InputOutput, render_visual,
+                                      RrDepth(ob_rr_inst), InputOutput,
+                                      RrVisual(ob_rr_inst),
                                       CWSaveUnder, &attrib);
-    stacking_add(&opaque_window);
+    stacking_add(INTERNAL_AS_WINDOW(&opaque_window));
     stacking_raise(INTERNAL_AS_WINDOW(&opaque_window));
 
     /* a GC to invert stuff */
This page took 0.022452 seconds and 4 git commands to generate.