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 16:12:32 +0200
commit0c88a60eccf1d30940a38bb79158e3a869e6b01f (patch)
tree02da990aaabcc16bdf55f9eeb5028d7be74560b7
parent8f9cbd19dbf3612abeafae60bdc4df2a97552b91 (diff)
downloadspice-0c88a60eccf1d30940a38bb79158e3a869e6b01f.tar.gz
spice-0c88a60eccf1d30940a38bb79158e3a869e6b01f.tar.xz
spice-0c88a60eccf1d30940a38bb79158e3a869e6b01f.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)