[PATCH xserver] os/inputthread: Ensure pollfd refreshing
Keith Packard
keithp at keithp.com
Sat Oct 15 20:43:37 UTC 2016
Mihail Konev <k.mvc at ya.ru> writes:
> When putting a device node into a poll-request list, do not overwrite a
> "please-remove" element with the same fd, so that a closed device file
> is ospoll_remove'd prior to being ospoll_add'ed.
>
> Before, the opposite order was possible, resulting in ospoll_add
> considering the newly opened file being already polled, should it have a
> fd for which the "please-remove" has not been procesed yet. In this
> case, no further events would be seen from the device.
>
> Signed-off-by: Mihail Konev <k.mvc at ya.ru>
> Regressed-in: 52d6a1e832a5e62289dd4f32824ae16a78dfd7e8
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=97880
> Patchwork: https://patchwork.freedesktop.org/patch/113763/
> Hit-and-Reduced-by: Hans de Goede <hdegoede at redhat.com>
> Reviewed-and-Reduced-by: Peter Hutterer <peter.hutterer at who-t.net>
Merged.
9cf0bd4..5dcb066 master -> master
--
-keith
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 800 bytes
Desc: not available
URL: <https://lists.x.org/archives/xorg-devel/attachments/20161015/06439b35/attachment.sig>
More information about the xorg-devel
mailing list