From 9ca4e99fb712d20652eb9f065aed7d23017c3150 Mon Sep 17 00:00:00 2001 From: "Steven R. Loomis" Date: Mon, 8 Apr 2024 09:35:35 -0500 Subject: [PATCH] fix(core): update core to handle reset context - mark event flags as unused for now Fixes: #10955 --- core/src/km_core_state_api.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/km_core_state_api.cpp b/core/src/km_core_state_api.cpp index 6fa30057fa..dbd49f7bcb 100644 --- a/core/src/km_core_state_api.cpp +++ b/core/src/km_core_state_api.cpp @@ -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()) {