X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fmoveresize.c;h=96eac5cff418f2f116a0ee6d170050577ab12988;hb=4cd886e5188549ab48a11b70cb40b65efe916b6c;hp=bc3153651e7b5ae500c61bcd0d15defbcd5d1a00;hpb=2477a38d2f3063b697e44bf3690cf280fb26ca8a;p=chaz%2Fopenbox diff --git a/openbox/moveresize.c b/openbox/moveresize.c index bc315365..96eac5cf 100644 --- a/openbox/moveresize.c +++ b/openbox/moveresize.c @@ -3,6 +3,7 @@ #include "screen.h" #include "prop.h" #include "client.h" +#include "frame.h" #include "dispatch.h" #include "openbox.h" #include "popup.h" @@ -41,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);