add: XSelectInput(dpy, wwin->client_win, wwin->event_mask);
context: wWindowMap(WWindow *wwin){    XMapWindow(dpy, wwin->frame->core->window);    if (!wwin->flags.shaded) {	XMapWindow(dpy, wwin->client_win);	wwin->flags.mapped = 1;    }}