#include "screen.h"
#include "prop.h"
#include "client.h"
+#include "frame.h"
#include "dispatch.h"
#include "openbox.h"
#include "popup.h"
#include <glib.h>
gboolean moveresize_in_progress = FALSE;
-Client *moveresize_client = NULL;
+ObClient *moveresize_client = NULL;
static gboolean moving = FALSE; /* TRUE - moving, FALSE - resizing */
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);
g_free(text);
}
-void moveresize_start(Client *c, int x, int y, guint b, guint32 cnr)
+void moveresize_start(ObClient *c, int x, int y, guint b, guint32 cnr)
{
ObCursor cur;
Rect *a;