summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2014-12-10 17:24:30 +0100
committerChristophe Fergeau <cfergeau@redhat.com>2014-12-15 12:02:24 +0100
commit0d35c3e9302308390262252e3a793d9431f31090 (patch)
tree5cff79655b915beab79b4b51bd548c46ddccec65
parent9f2145ac456f43ee52705beb58161c567773d816 (diff)
downloadspice-0d35c3e9302308390262252e3a793d9431f31090.tar.gz
spice-0d35c3e9302308390262252e3a793d9431f31090.tar.xz
spice-0d35c3e9302308390262252e3a793d9431f31090.zip
inputs: Split overlong line
Cosmetic change.
-rw-r--r--server/inputs_channel.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/inputs_channel.c b/server/inputs_channel.c
index 3c646268..5059e985 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();
}