On Mon, Feb 07, 2011 at 06:21:31PM +0100, [email protected] wrote:
> From: Carlos Garnacho <[email protected]>
> 
> The previous XKB info was being returned instead of the current
> one, producing inconsistent results between the latest events
> and the modifiers/group returned by this call.
> 
> Signed-off-by: Carlos Garnacho <[email protected]>
> ---
>  Xi/xiquerypointer.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/Xi/xiquerypointer.c b/Xi/xiquerypointer.c
> index b521c48..8df958e 100644
> --- a/Xi/xiquerypointer.c
> +++ b/Xi/xiquerypointer.c
> @@ -129,7 +129,7 @@ ProcXIQueryPointer(ClientPtr client)
>  
>      if (kbd)
>      {
> -        state = &kbd->key->xkbInfo->prev_state;
> +        state = &kbd->key->xkbInfo->state;
>          rep.mods.base_mods = state->base_mods;
>          rep.mods.latched_mods = state->latched_mods;
>          rep.mods.locked_mods = state->locked_mods;
> -- 
> 1.7.4

merged, thanks.
 
Cheers,
  Peter
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to