sna: Do not rely on udev_monitor_receive_device() being non-blocking
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 9 Jun 2014 12:13:25 +0000 (13:13 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 9 Jun 2014 12:14:51 +0000 (13:14 +0100)
commitaf3130cbba8375b9060a3a8cef5b03189d01c419
tree0c012a932b9ee18a366a66dc170b2904b01b9632
parent981af18190be772b469761bc124b9f46c19d5093
sna: Do not rely on udev_monitor_receive_device() being non-blocking

The libudev documentation says that is it non-blocking by default, but
experience shows otherwise.

Reported-by: Sedat Dilek <sedat.dilek@gmail.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
src/sna/sna_display.c