rem: handleMapNotify(Window window)
add: handleMapNotify(XEvent *event)
context: handleMapNotify(Window window){    WWindow *wwin;    #ifdef DEBUG    puts("got map");#endif    wwin= wWindowFor(window);    if (wwin && wwin->client_win==window) {	if (wwin->flags.ignore_next_unmap) {	    wwin->flags.ignore_next_unmap=0;	    	    return;	}	if (wwin->flags.miniaturized) {	    wDeiconifyWindow(wwin);	} else {	    XGrabServer(dpy);	    XSync(dpy,0);	    XMapWindow(dpy, wwin->client_win);	    XMapWindow(dpy, wwin->frame->core->window);	    wwin->flags.mapped=1;	    wClientSetState(wwin, NormalState, None);	    XUngrabServer(dpy);	}    }}