Benjamin Berg 6dd28bd2c7 monitor-manager-kms: poll() on KMS fd on EAGAIN
When drmHandleEvent() returns an error and errno is set to EAGAIN,
instead of ending up in a busy loop, poll() the fd until there is
anything to read.

This is a simple backport of commit 406359bba1.

https://bugzilla.gnome.org/show_bug.cgi?id=791024
2017-12-11 10:44:28 +00:00
..
2017-11-07 10:50:02 +01:00
2015-07-05 22:01:59 -07:00
2015-07-05 22:01:59 -07:00