summaryrefslogtreecommitdiffstats
path: root/client/inputs_channel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'client/inputs_channel.cpp')
-rw-r--r--client/inputs_channel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/inputs_channel.cpp b/client/inputs_channel.cpp
index d686be22..df434937 100644
--- a/client/inputs_channel.cpp
+++ b/client/inputs_channel.cpp
@@ -327,7 +327,7 @@ void InputsChannel::set_local_modifiers()
modifiers |= Platform::CAPS_LOCK_MODIFIER;
}
- Platform::set_keyboard_modifiers(_modifiers);
+ Platform::set_keyboard_lock_modifiers(_modifiers);
}
void InputsChannel::on_focus_in()
@@ -335,7 +335,7 @@ void InputsChannel::on_focus_in()
#ifdef SYNC_REMOTH_MODIFIRES
Message* message = new Message(REDC_INPUTS_KEY_MODIFAIERS, sizeof(RedcKeyDown));
RedcKeyModifiers* modifiers = (RedcKeyModifiers*)message->data();
- modifiers->modifiers = Platform::get_keyboard_modifiers();
+ modifiers->modifiers = Platform::get_keyboard_lock_modifiers();
post_message(message);
#else
set_local_modifiers();