]> Dogcows Code - chaz/openbox/blobdiff - openbox/moveresize.c
add partial struts tho they arent useful eyt
[chaz/openbox] / openbox / moveresize.c
index bc3153651e7b5ae500c61bcd0d15defbcd5d1a00..96eac5cff418f2f116a0ee6d170050577ab12988 100644 (file)
@@ -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);
This page took 0.020861 seconds and 4 git commands to generate.