rem: wwin->flags.focused=1;
context: wWindowFocus(WWindow *wwin){#ifdef KEEP_XKB_LOCK_STATUS    if (wPreferences.modelock) {        if (!wwin->flags.focused) {            XkbLockGroup(dpy, XkbUseCoreKbd, wwin->languagemode);        }    }#endif /* KEEP_XKB_LOCK_STATUS */    wFrameWindowChangeState(wwin->frame, WS_FOCUSED);    wwin->flags.focused=1;    wWindowResetMouseGrabs(wwin);    UpdateSwitchMenu(wwin->screen_ptr, wwin, ACTION_CHANGE_STATE);}