WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: "Chun Yan Liu" <cyliu@xxxxxxxxxx>
Subject: Re: [Xen-devel][PATCH]ioemu: fix altgr-insert behavior
From: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
Date: Thu, 2 Sep 2010 17:21:32 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 02 Sep 2010 09:23:52 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4C7FFC2D0200006600017A4F@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Newsgroups: chiark.mail.xen.devel
References: <4C7FFC2D0200006600017A4F@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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.

Thanks,
Ian.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel