This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-devel][PATCH]ioemu: fix altgr-insert behavior

Ian, attachment is the patch, the same as I've sent in previous mail. I don't know if you've received it before, so I send it again. Please have a review, thanks.
Any problem, please let me know. Thanks a lot.

>>> Chun Yan Liu 2010/9/8 10:21 >>>
Ian, what do you think of the patch?  The altgr problem annoys spanish keyboard users much, many characters cannot be input. So, I hope it can be applied. If it's rejected, please let me know the reason. Thanks. 
- Chunyan

>>> Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx> 2010/9/3 0:21 >>>
Chun Yan Liu writes ("[Xen-devel][PATCH]ioemu: fix altgr-insert behavior"):
> With following patch, when vncerver receives key down message, it
> first check if the keysym needs altgr modifer, if it needs altgr
> modifier but altgr is not 'down', sending altgr keycode before
> sending key keycode.

> diff -r 17723c0b042b keymaps.c

Thanks, but this patch has been mangled somehow and won't apply.

> +   add_to_key_range(&k->altgr_range, keysym);
> +   //fprintf(stderr, "altgr keysym %04x keycode %d\n", keysym, keycode);
> +      }

Can you try resending it as an attachment ?  Then I can review it
probably in context.


Xen-devel mailing list

Attachment: altgr_keymap.patch
Description: Text document

Xen-devel mailing list