rem: Display *dpy = XOpenDisplay("");
add: Display *dpy = XOpenDisplay(display);
context: WMOpenScreen(){    Display *dpy = XOpenDisplay("");        if (!dpy) {	wwarning("WINGs: could not open display %s",		 XDisplayName(""));	return NULL;    }        return WMCreateSimpleApplicationScreen(dpy);}