Skip to content
Snippets Groups Projects
Commit 5278d1ca authored by mazmazz's avatar mazmazz
Browse files

Merge branch 'caps-lock-consistency-fix' into 'master'

Update capslock state on window re-focus

See merge request STJr/SRB2!436
parents 900a439c 0b857f12
No related branches found
No related tags found
No related merge requests found
......@@ -580,6 +580,8 @@ static void Impl_HandleWindowEvent(SDL_WindowEvent evt)
if (cv_usemouse.value) I_StartupMouse();
}
//else firsttimeonmouse = SDL_FALSE;
capslock = !!( SDL_GetModState() & KMOD_CAPS );// in case CL changes
}
else if (!mousefocus && !kbfocus)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment