[Spice-commits] client/inputs_channel.cpp

Hans de Goede jwrdegoede at kemper.freedesktop.org
Tue Mar 1 06:09:27 PST 2011


 client/inputs_channel.cpp |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 0c88a60eccf1d30940a38bb79158e3a869e6b01f
Author: Hans de Goede <hdegoede at redhat.com>
Date:   Tue Mar 1 16:11:52 2011 +0200

    Fix keyb modifiers not syncing from client to client os (rhbz#679467)

diff --git a/client/inputs_channel.cpp b/client/inputs_channel.cpp
index c527580..ae41624 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)


More information about the Spice-commits mailing list