qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [RESENT PATCH 2/2] vnc: sync lock modifier state on connect


From: Gerd Hoffmann
Subject: [Qemu-devel] [RESENT PATCH 2/2] vnc: sync lock modifier state on connect.
Date: Mon, 14 Jun 2010 17:18:42 +0200

Signed-off-by: Gerd Hoffmann <address@hidden>
---
 vnc.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/vnc.c b/vnc.c
index b25b6a1..039fb21 100644
--- a/vnc.c
+++ b/vnc.c
@@ -2300,6 +2300,7 @@ static void vnc_connect(VncDisplay *vd, int csock)
     if (vs->vd->lock_key_sync) {
         vs->led_notifier.notify = kbd_leds;
         qemu_add_led_event_notifier(&vs->led_notifier);
+        kbd_leds(&vs->led_notifier);
     }
 
     vs->mouse_mode_notifier.notify = check_pointer_type_change;
-- 
1.6.5.2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]