Re: [Spice-devel] [spice-gtk] Don't attempt to send 0 scancode when releasing keys

2014-02-08 Thread Marc-André Lureau
ack On Fri, Feb 7, 2014 at 2:44 PM, Christophe Fergeau wrote: > When releasing all keys, we send a key release for scancode in the > key_state array, including the very first element with scancode 0. > send_key() complain when the scancode is 0, so make sure we don't call it > for this first elem

[Spice-devel] [spice-gtk] Don't attempt to send 0 scancode when releasing keys

2014-02-07 Thread Christophe Fergeau
When releasing all keys, we send a key release for scancode in the key_state array, including the very first element with scancode 0. send_key() complain when the scancode is 0, so make sure we don't call it for this first element. This fixes a (remote-viewer:25548): GSpice-CRITICAL **: send_key: