summaryrefslogtreecommitdiffstats
path: root/client/inputs_channel.cpp
diff options
context:
space:
mode:
authorArnon Gilboa <agilboa@redhat.com>2009-11-17 16:44:50 +0200
committerYaniv Kamay <ykamay@redhat.com>2009-11-18 13:25:06 +0200
commit8b36ed546068bd365c1345f937f3b26cd2b7d0d4 (patch)
tree388631161080e88d28b9ef7b0282706447061505 /client/inputs_channel.cpp
parent6ff080c0f8b4df4c6113855f59c894605bdcc45c (diff)
downloadspice-8b36ed546068bd365c1345f937f3b26cd2b7d0d4.tar.gz
spice-8b36ed546068bd365c1345f937f3b26cd2b7d0d4.tar.xz
spice-8b36ed546068bd365c1345f937f3b26cd2b7d0d4.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.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();