mirror of
https://github.com/brl/mutter.git
synced 2025-02-13 20:04:09 +00:00
6dd28bd2c7
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