Commit 7a1c45bd1c62d7cf9e5cd67633e1f5db8a7752f7

Ethan Lee 2022-03-25T12:51:38

wayland: Optimize keyboard_handle_modifiers. 1. Mod index values are (mostly) constant, so can be done with xkb_state_new 2. Mods can change without the group changing, avoid remap events if possible Lastly, as a bonus, I added braces to the locale check, because I was nearby.