From 8b36ed546068bd365c1345f937f3b26cd2b7d0d4 Mon Sep 17 00:00:00 2001 From: Arnon Gilboa Date: Tue, 17 Nov 2009 16:44:50 +0200 Subject: spice: on toggle_full_screen, generate on_key_down if shift is still pressed --- client/inputs_channel.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'client/inputs_channel.cpp') 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(); -- cgit