diff options
author | Arnon Gilboa <agilboa@redhat.com> | 2009-11-17 16:44:50 +0200 |
---|---|---|
committer | Yaniv Kamay <ykamay@redhat.com> | 2010-01-03 17:37:05 +0200 |
commit | 18270e02353786a64e01a303ac4db5fa05e05eeb (patch) | |
tree | 96b8c03442b5dc18c70e08525dbc9f8eef2dad09 /client/inputs_channel.cpp | |
parent | ba04ac69c680389b8aa225c2ecac0d9fe9b7f0ff (diff) | |
download | spice-18270e02353786a64e01a303ac4db5fa05e05eeb.tar.gz spice-18270e02353786a64e01a303ac4db5fa05e05eeb.tar.xz spice-18270e02353786a64e01a303ac4db5fa05e05eeb.zip |
spice: on toggle_full_screen, generate on_key_down if shift is still pressed
Diffstat (limited to 'client/inputs_channel.cpp')
-rw-r--r-- | client/inputs_channel.cpp | 4 |
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(); |