Fix #115160: Using active keyboard layout for hotkeys in X11/Wayland #115161

Closed
Eugene-Kuznetsov wants to merge 1 commits from Eugene-Kuznetsov/blender:ek_keyboard_layout_fix into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
1 changed files with 1 additions and 0 deletions

View File

@ -4357,6 +4357,7 @@ static void keyboard_handle_modifiers(void *data,
GWL_Seat *seat = static_cast<GWL_Seat *>(data);
xkb_state_update_mask(seat->xkb.state, mods_depressed, mods_latched, mods_locked, 0, 0, group);
xkb_state_update_mask(seat->xkb.state_empty, 0, 0, 0, 0, 0, group);
/* A modifier changed so reset the timer,
* see comment in #keyboard_handle_key regarding this behavior. */