[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] vnc: lift modifier keys on client disconnect.
From: |
Gerd Hoffmann |
Subject: |
Re: [Qemu-devel] [PATCH] vnc: lift modifier keys on client disconnect. |
Date: |
Mon, 17 Jun 2013 15:58:56 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130513 Thunderbird/17.0.6 |
Hi,
>> I guess reset_keys() should skip capslock+numlock to not disturb the
>> sync logic, can you try that?
>
> mhh, i might be wrong, but where could the vs->modifiers_state be not zero
> on a new connection. I only find a g_malloc0 initializing the VNCState.
Ah, right, it is in the per-connection vnc state not in the
server-global vnc state. Yes, I guess we should store ledstate in
VncDisplay then, so we can call kbd_leds() on new connections.
cheers,
Gerd