rem: if (event->xfocus.mode == NotifyUngrab) { return; }
context: handleFocusIn(XEvent *event){    WWindow *wwin;    if (event->xfocus.mode == NotifyUngrab) {	return;    }    /*     * For applications that like stealing the focus.     */    while (XCheckTypedEvent(dpy, FocusIn, event));        saveTimestamp(event);    if (event->xfocus.mode == NotifyUngrab) {	return;    }    wwin = wWindowFor(event->xfocus.window);    if (wwin && !wwin->flags.focused) {	if (wwin->flags.mapped)	    wSetFocusTo(wwin->screen_ptr, wwin);	else	    wSetFocusTo(wwin->screen_ptr, NULL);    } else if (!wwin) {	wSetFocusTo(wScreenForWindow(event->xfocus.window), NULL);    }}