[PATCH xserver] Xi: make XIQueryPointer return the current modifiers/group as documented.

Daniel Stone daniel at fooishbar.org
Tue Feb 8 10:26:45 PST 2011


Hi,

On Tue, Feb 08, 2011 at 10:08:36AM -0800, Keith Packard wrote:
> On Mon,  7 Feb 2011 18:21:31 +0100, carlosg at gnome.org wrote:
> > From: Carlos Garnacho <carlosg at gnome.org>
> > 
> > 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.
> 
> Note that core events always return the state of the modifier bits
> just before the event; I don't understand xkb, but wonder if it isn't
> trying to emulate that behaviour.

This is a request, not an event. :) prev_state indeed exists to
facilitate sending the pre-mangled state in events, but is deeply
unhelpful when we're in request, rather than event, land.

Cheers,
Daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.x.org/archives/xorg-devel/attachments/20110208/1a5114e8/attachment.pgp>


More information about the xorg-devel mailing list