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

Takao Fujiwara tfujiwar at redhat.com
Tue Apr 5 11:29:46 UTC 2016


On 03/31/16 22:36, Frediano Ziglio-san wrote:
>> --- a/src/spice-widget.c
>> +++ b/src/spice-widget.c
>> @@ -1493,6 +1493,15 @@ static gboolean key_event(GtkWidget *widget,
>> GdkEventKey *key)
>>               }
>>           }
>>           break;
>> +    case 0x412:                         /* KR keyboard */
>> +        if (key->hardware_keycode == VK_HANGUL && native_scancode == 0x38) {
>
> To make more readable you could use DIK_LMENU from dinput.h for
> the scancode.
>

I think DIK_LALT might be better.



More information about the Spice-devel mailing list