[Spice-devel] [spice-gtk 2/3] Send key release event for some keys in JP keyboard

2016-04-12 Thread Takao Fujiwara
With the previous fix, WM_KEYDOWN of Alt+Zenkaku_Hankaku (VK_KANJI) can be sent with spice-gtk but Alt+Zenkaku_Hankaku does not send the WM_KEYUP event in Windows and it caused Linux desktop freeze with unlimited key press events. The proposed fix is to send the key release event in spice-gtk. VK

[Spice-devel] [spice-gtk 2/3] Send key release event for some keys in JP keyboard

2016-04-05 Thread Takao Fujiwara
With the previous fix, WM_KEYDOWN of Alt+Zenkaku_Hankaku (VK_KANJI) can be sent with spice-gtk but Alt+Zenkaku_Hankaku does not send the WM_KEYUP event in Windows and it caused Linux desktop freeze with unlimited key press events. The proposed fix is to send the key release event in spice-gtk. VK

[Spice-devel] [spice-gtk 2/3] Send key release event for some keys in JP keyboard

2016-04-05 Thread Takao Fujiwara
With the previous fix, WM_KEYDOWN of Alt+Zenkaku_Hankaku (VK_KANJI) can be sent with spice-gtk but Alt+Zenkaku_Hankaku does not send the WM_KEYUP event in Windows and it caused Linux desktop freeze with unlimited key press events. The proposed fix is to send the key release event in spice-gtk. VK

Re: [Spice-devel] [spice-gtk 2/3] Send key release event for some keys in JP keyboard.

2016-04-05 Thread Takao Fujiwara
On 03/31/16 22:19, Frediano Ziglio-san wrote: +switch (key->hardware_keycode) { +case VK_KANJI: /* Alt + Zenkaku_Hankaku */ +case VK_OEM_ATTN: /* Eisu_toggle */ +case VK_OEM_COPY: /* Hiragana_Katakana */ +case VK

Re: [Spice-devel] [spice-gtk 2/3] Send key release event for some keys in JP keyboard.

2016-03-31 Thread Frediano Ziglio
> > From: Takao Fujiwara > > Some of the keys in JP keyboard do no send WM_KEYUP and it causes > unlimited key events on Linux desktop. This sends the virtual > key release events to avoid the desktop hangup. > --- > src/spice-widget.c | 18 ++ > 1 file changed, 18 insertions(+)

[Spice-devel] [spice-gtk 2/3] Send key release event for some keys in JP keyboard.

2016-03-31 Thread Fabiano FidĂȘncio
From: Takao Fujiwara Some of the keys in JP keyboard do no send WM_KEYUP and it causes unlimited key events on Linux desktop. This sends the virtual key release events to avoid the desktop hangup. --- src/spice-widget.c | 18 ++ 1 file changed, 18 insertions(+) diff --git a/src/