[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xorg
Subject:    Re: [BUG] Touchscreen woes
From:       Ben Gamari <bgamari.foss () gmail ! com>
Date:       2013-11-30 14:58:23
Message-ID: 87r49yszqo.fsf () gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


Peter Hutterer <peter.hutterer@who-t.net> writes:
>
> ok, what's happening here is that (most likely) the device is frozen. 
> Event delivery works that for each event, dev->public.processInputProc 
> is called. That is usually ProcessOtherEvents(), but if the device is 
> frozen from a sync grab, that func is EnqueueEvents(). You'll likely 
> fine that the core keyboard events are going there. Once unfrozen, the 
> events are replayed as you see below.
>
After reading through the relevant code, it seems that the ungrab
code paths (e.g. ProcUngrabButton) never recompute freezes. Is this
intentional or an oversight?  It would seem to me that ungrabbing a
device should result in the thawing of any frozen queues.

Cheers,

- Ben

[Attachment #5 (application/pgp-signature)]

_______________________________________________
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.x.org/mailman/listinfo/xorg
Your subscription address: %(user_address)s

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic