[Spice-devel] [PATCH 2/3] inputs: Split overlong line
Christophe Fergeau
cfergeau at redhat.com
Fri Dec 12 08:19:26 PST 2014
This is only a cosmetic change.
---
server/inputs_channel.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/server/inputs_channel.c b/server/inputs_channel.c
index 3c64626..5059e98 100644
--- a/server/inputs_channel.c
+++ b/server/inputs_channel.c
@@ -332,7 +332,8 @@ static int inputs_channel_handle_parsed(RedChannelClient *rcc, uint32_t size, ui
switch (type) {
case SPICE_MSGC_INPUTS_KEY_DOWN: {
SpiceMsgcKeyDown *key_down = (SpiceMsgcKeyDown *)buf;
- if (key_down->code == CAPS_LOCK_SCAN_CODE || key_down->code == NUM_LOCK_SCAN_CODE ||
+ if (key_down->code == CAPS_LOCK_SCAN_CODE ||
+ key_down->code == NUM_LOCK_SCAN_CODE ||
key_down->code == SCROLL_LOCK_SCAN_CODE) {
activate_modifiers_watch();
}
--
2.1.0
More information about the Spice-devel
mailing list