From 838439080a9feaac3386d694dc7f8463e41c51df Mon Sep 17 00:00:00 2001 From: JS Deck Date: Sat, 20 Sep 2025 12:57:39 -0300 Subject: vkeyboard: update cached mods before IME; add share_states = 2 config option (#11720) --- src/config/ConfigDescriptions.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/config/ConfigDescriptions.hpp') diff --git a/src/config/ConfigDescriptions.hpp b/src/config/ConfigDescriptions.hpp index f2d384b2..a3a6e1b0 100644 --- a/src/config/ConfigDescriptions.hpp +++ b/src/config/ConfigDescriptions.hpp @@ -683,9 +683,9 @@ inline static const std::vector CONFIG_OPTIONS = { SConfigOptionDescription{ .value = "input:virtualkeyboard:share_states", - .description = "Unify key down states and modifier states with other keyboards", - .type = CONFIG_OPTION_BOOL, - .data = SConfigOptionDescription::SBoolData{false}, + .description = "Unify key down states and modifier states with other keyboards. 0 -> no, 1 -> yes, 2 -> yes unless IME client", + .type = CONFIG_OPTION_INT, + .data = SConfigOptionDescription::SRangeData{2, 0, 2}, }, SConfigOptionDescription{ .value = "input:virtualkeyboard:release_pressed_on_close", -- cgit v1.2.3