Unhandled SDL event of type 0x304
SDL (>= 2.0.4) will emit a SDL_KEYMAPCHANGED(0x304) event if the current keymap changes due to a system event (such as an input language or keyboard layout change). This will result in a warning "Unhandled SDL event of type 0x304". The game will also not recognize the new keyboard layout so I think this should be handled instead of ignored. On Linux this also might happen when switching to a different TTY (by pressing CTRL+ALT+F1) and going back to the game (CTRL+ALT+F7).
This may be reproduced by:
running openmw from the terminal
changing the keyboard-layout (via shortcut or in the OS settings)
tabbing back out of the game (to see the above-mentioned warning)
trying to change ingame keybindings (the new keyboard layout will not be recognized)
(RM-3670 from redmine: created on 2016-12-17 by Leon Krieg, , closed on 2016-12-17 by Leon Krieg)
Edited by redmine