xserver-multidpi/hw/kdrive
Keith Packard c17a417945 ephyr: Process queued X events before blocking [v2]
If we end up reading all pending X events in the course of other server
execution, then our notify FD callback won't get invoked and we won't
process them. Fix this by noting that there are queued events in the
block handler, setting the poll timeout to zero and queuing a work
proc to clear the event queue.

v2: use a work proc to clear the event queue rather than doing it in
    the block handler directly.

Signed-off-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
2016-06-20 11:55:15 -07:00
..
ephyr ephyr: Process queued X events before blocking [v2] 2016-06-20 11:55:15 -07:00
fake kdrive: Delete unused TOUCHSCREEN define. 2015-10-06 10:43:05 -04:00
fbdev kdrive: Delete unused TOUCHSCREEN define. 2015-10-06 10:43:05 -04:00
linux dix: Use OsSignal() not signal() 2016-06-08 11:36:31 -04:00
src kdrive: Only enable threaded input if we have input devices 2016-06-20 15:47:06 +10:00
Makefile.am Catch errors in recursive relink targets 2010-03-22 00:45:57 -05:00
Xkdrive.man kdrive: Remove some dead bits of the man page 2014-07-29 09:51:40 -04:00