mirror of
https://github.com/brl/mutter.git
synced 2025-03-13 14:55:05 +00:00

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