summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2011-03-01 16:11:52 +0200
committerHans de Goede <hdegoede@redhat.com>2011-03-01 19:40:36 +0200
commita0996e0f70c19b3784cc433021ca7885bc404800 (patch)
tree58bd030686d29c98553ece938eb6b0b1e9e22b45
parentaa827c5b995da3c103ab4df381896e4de0c6605c (diff)
downloadspice-a0996e0f70c19b3784cc433021ca7885bc404800.tar.gz
spice-a0996e0f70c19b3784cc433021ca7885bc404800.tar.xz
spice-a0996e0f70c19b3784cc433021ca7885bc404800.zip
Fix keyb modifiers not syncing from client to client os (rhbz#679467)
-rw-r--r--client/inputs_channel.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/client/inputs_channel.cpp b/client/inputs_channel.cpp
index c5275800..ae41624f 100644
--- a/client/inputs_channel.cpp
+++ b/client/inputs_channel.cpp
@@ -423,8 +423,10 @@ void InputsChannel::on_focus_out()
{
Lock lock(_update_modifiers_lock);
_active_modifiers_event = true;
+#ifndef SYNC_REMOTE_MODIFIERS
_modifiers = _on_focus_modifiers;
set_local_modifiers();
+#endif
}
void InputsChannel::init_scan_code(int index)