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