]> Dogcows Code - chaz/openbox/blobdiff - openbox/moveresize.c
put the render theme into a struct
[chaz/openbox] / openbox / moveresize.c
index 871e96536f6e4867d8c850a0029560dbee69ab0f..287d4ec0337fc6e63809e6173410daa0d251312d 100644 (file)
@@ -53,14 +53,15 @@ 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(INTERNAL_AS_WINDOW(&opaque_window));
     stacking_raise(INTERNAL_AS_WINDOW(&opaque_window));
 
     /* a GC to invert stuff */
     gcv.function = GXxor;
-    gcv.line_width = theme_bwidth;
+    gcv.line_width = ob_rr_theme->bwidth;
     gcv.foreground = (WhitePixel(ob_display, ob_screen) ^
                       BlackPixel(ob_display, ob_screen));
     opaque_gc = XCreateGC(ob_display, opaque_window.win,
This page took 0.021815 seconds and 4 git commands to generate.