summaryrefslogtreecommitdiff
path: root/openbox/moveresize.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-06-21 00:42:47 +0000
committerDana Jansens <danakj@orodu.net>2003-06-21 00:42:47 +0000
commita4a0cb78294bb1809b836ea1e86e9d7294bb2929 (patch)
treeaae7a44ec9b38b0555f4f44d0dad1bf4a9325b4e /openbox/moveresize.c
parent3f32dfa87e08556d7f6a58efab9b7479e515be26 (diff)
fixed to accomodate the changes to the render/ API.
Diffstat (limited to 'openbox/moveresize.c')
-rw-r--r--openbox/moveresize.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/openbox/moveresize.c b/openbox/moveresize.c
index 871e9653..4b1ee6ea 100644
--- a/openbox/moveresize.c
+++ b/openbox/moveresize.c
@@ -53,7 +53,8 @@ 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));