X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fmoveresize.c;h=4b1ee6ea0db8995a30bdce42d5687ae02d456a79;hb=a4a0cb78294bb1809b836ea1e86e9d7294bb2929;hp=871e96536f6e4867d8c850a0029560dbee69ab0f;hpb=6e42b65bda1706887f3b2a7f9d79ba20f7611a06;p=chaz%2Fopenbox 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));