mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-31 12:47:43 +00:00
fix(core): update core to handle reset context
- mark event flags as unused for now Fixes: #10955
This commit is contained in:
parent
3da900d273
commit
9ca4e99fb7
1 changed files with 1 additions and 1 deletions
|
|
@ -378,7 +378,7 @@ state_should_invalidate_context(km_core_state *state,
|
|||
km_core_virtual_key vk,
|
||||
uint16_t modifier_state,
|
||||
uint8_t is_key_down,
|
||||
uint16_t event_flags) {
|
||||
uint16_t _kmn_unused(event_flags)) {
|
||||
// if emit_keystroke is present, check if a context reset is needed
|
||||
if (state_has_action_type(state, KM_CORE_IT_EMIT_KEYSTROKE)) {
|
||||
if (vk == KM_CORE_VKEY_BKSP && state->context().empty()) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue