#include "wm.h"

void initcursor(int s)
{
	XSetWindowAttributes attr;

	screens[s].cursor = XCreateFontCursor(display, XC_left_ptr);
	attr.cursor = screens[s].cursor;
	XChangeWindowAttributes(display, screens[s].rootwindow, CWCursor, &attr);
	XSync(display, 0);
}

