Files
xserver/os
Mihail Konev 5dcb0666b8 os/inputthread: Ensure pollfd refreshing
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@ya.ru>
Regressed-in: 52d6a1e832
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@redhat.com>
Reviewed-and-Reduced-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
2016-10-15 13:39:26 -07:00
..
2015-11-30 11:51:22 -05:00
2014-11-12 10:25:00 +10:00
2012-03-21 13:54:42 -07:00
2016-09-16 10:57:23 -07:00
2012-03-21 13:54:42 -07:00
2014-11-12 10:25:00 +10:00
2016-07-21 15:04:47 -04:00
2015-11-30 11:51:22 -05:00
2012-03-21 13:54:42 -07:00
2012-03-21 13:54:42 -07:00
2016-07-21 15:04:47 -04:00
2016-02-08 21:49:56 -05:00
2016-07-21 15:04:47 -04:00
2013-10-31 16:58:12 -07:00