Blob Blame History Raw
From fde2665c56db4e28bd0d9fbcfd28959166cdbc19 Mon Sep 17 00:00:00 2001
From: Pavel Grunt <pgrunt@redhat.com>
Date: Mon, 5 Jun 2017 15:22:27 +0200
Subject: [PATCH spice-gtk] Revert "Ignore modifiers messages if no modifiers
 changed"
To: spice-devel@lists.freedesktop.org

This reverts commit 73cd553fb0fbd213b64d72f8b4289ed8a17fc6c0.
---
 src/channel-inputs.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/channel-inputs.c b/src/channel-inputs.c
index f79bc38..7572bff 100644
--- a/src/channel-inputs.c
+++ b/src/channel-inputs.c
@@ -242,10 +242,8 @@ static void inputs_handle_modifiers(SpiceChannel *channel, SpiceMsgIn *in)
     SpiceInputsChannelPrivate *c = SPICE_INPUTS_CHANNEL(channel)->priv;
     SpiceMsgInputsKeyModifiers *modifiers = spice_msg_in_parsed(in);
 
-    if (c->modifiers != modifiers->modifiers) {
-        c->modifiers = modifiers->modifiers;
-        g_coroutine_signal_emit(channel, signals[SPICE_INPUTS_MODIFIERS], 0);
-    }
+    c->modifiers = modifiers->modifiers;
+    g_coroutine_signal_emit(channel, signals[SPICE_INPUTS_MODIFIERS], 0);
 }
 
 /* coroutine context */
-- 
2.13.0