From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=60151 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OOBR5-00013C-61 for qemu-devel@nongnu.org; Mon, 14 Jun 2010 11:18:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OOBR3-0005yP-Qm for qemu-devel@nongnu.org; Mon, 14 Jun 2010 11:18:51 -0400 Received: from mx1.redhat.com ([209.132.183.28]:10013) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OOBR3-0005yF-Iq for qemu-devel@nongnu.org; Mon, 14 Jun 2010 11:18:49 -0400 Received: from int-mx05.intmail.prod.int.phx2.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.18]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o5EFIlqW002138 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 14 Jun 2010 11:18:48 -0400 From: Gerd Hoffmann Date: Mon, 14 Jun 2010 17:18:42 +0200 Message-Id: <1276528722-14745-2-git-send-email-kraxel@redhat.com> In-Reply-To: <1276528722-14745-1-git-send-email-kraxel@redhat.com> References: <1276528722-14745-1-git-send-email-kraxel@redhat.com> Subject: [Qemu-devel] [RESENT 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 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