diff options
author | Pierre Ossman <ossman@cendio.se> | 2017-01-09 17:14:02 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2017-01-31 08:14:52 +0100 |
commit | a54f0d2ba3094ca43e85a465c7c4ae58c589efc4 (patch) | |
tree | 642f8898f60042adc10a968bbe23ff38b685fac8 /ui/vnc.h | |
parent | 1266b68c6e3af7f7bd53edcba1ee12cec07cdefe (diff) |
vnc: track LED state separately
Piggy-backing on the modifier state array made it difficult to send
out updates at the proper times.
Signed-off-by: Pierre Ossman <ossman@cendio.se>
Message-id: 5aa28297d665cee24ddab26bbf4633e4252f97b6.1483978442.git.ossman@cendio.se
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'ui/vnc.h')
-rw-r--r-- | ui/vnc.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -154,6 +154,8 @@ struct VncDisplay DisplayChangeListener dcl; kbd_layout_t *kbd_layout; int lock_key_sync; + QEMUPutLEDEntry *led; + int ledstate; int key_delay_ms; QemuMutex mutex; @@ -304,7 +306,6 @@ struct VncState size_t read_handler_expect; /* input */ uint8_t modifiers_state[256]; - QEMUPutLEDEntry *led; bool abort; QemuMutex output_mutex; |