diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-08-12 19:11:41 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-08-12 19:11:41 +0200 |
commit | b239773c6d63b713003ce802e833ffed184fb9bc (patch) | |
tree | 3d76327693387c5ccdc901d11dead688178f4b2e | |
parent | mds-kkbd: m + handle_set_keyboard_leds (diff) | |
download | mds-b239773c6d63b713003ce802e833ffed184fb9bc.tar.gz mds-b239773c6d63b713003ce802e833ffed184fb9bc.tar.bz2 mds-b239773c6d63b713003ce802e833ffed184fb9bc.tar.xz |
derp
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rw-r--r-- | src/mds-kkbd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mds-kkbd.c b/src/mds-kkbd.c index 26d796d..07a5de7 100644 --- a/src/mds-kkbd.c +++ b/src/mds-kkbd.c @@ -630,7 +630,7 @@ int handle_set_keyboard_leds(const char* recv_active, const char* recv_mask, #undef __test - current = (current & active & mask) | ((current ^ active) & ~mask); + current = (active & mask) | ((current ^ active) & ~mask); if (set_leds(current) < 0) { xperror(*argv); /* Not fatal */ |