From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1OANh5-0000t8-7Q for qemu-devel@nongnu.org; Fri, 07 May 2010 09:34:19 -0400 Received: from [140.186.70.92] (port=59255 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OANgz-0004e4-TQ for qemu-devel@nongnu.org; Fri, 07 May 2010 09:34:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OAJeD-00006p-80 for qemu-devel@nongnu.org; Fri, 07 May 2010 05:15:08 -0400 Received: from mx1.redhat.com ([209.132.183.28]:22019) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OAJeC-00006Q-UK for qemu-devel@nongnu.org; Fri, 07 May 2010 05:15:05 -0400 Received: from int-mx04.intmail.prod.int.phx2.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.17]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o479EuC1019071 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 7 May 2010 05:14:56 -0400 From: Gerd Hoffmann Date: Fri, 7 May 2010 11:14:51 +0200 Message-Id: <1273223691-7657-2-git-send-email-kraxel@redhat.com> In-Reply-To: <1273223691-7657-1-git-send-email-kraxel@redhat.com> References: <1273223691-7657-1-git-send-email-kraxel@redhat.com> Subject: [Qemu-devel] [PATCH 2/2] vnc: sync lock modifier state on connect. List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Gerd Hoffmann Signed-off-by: Gerd Hoffmann --- vnc.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/vnc.c b/vnc.c index e497c70..69f3816 100644 --- a/vnc.c +++ b/vnc.c @@ -2238,6 +2238,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.6.1