mirror of
https://github.com/brl/mutter.git
synced 2025-01-08 10:42:33 +00:00
monitor-manager-kms: Fix recently introduced build issue
The recent commit 6dd28bd2c7
"poll() on KMS fd on EAGAIN" backported
error handling code that does not apply to the gnome-3-26 branch.
https://bugzilla.gnome.org/show_bug.cgi?id=791024
This commit is contained in:
parent
6dd28bd2c7
commit
ae460046ed
@ -1792,11 +1792,7 @@ meta_monitor_manager_kms_wait_for_flip (MetaMonitorManagerKms *manager_kms)
|
||||
int ret;
|
||||
|
||||
if (errno != EAGAIN)
|
||||
{
|
||||
g_set_error_literal (error, G_IO_ERROR, G_IO_ERROR_FAILED,
|
||||
strerror (errno));
|
||||
return;
|
||||
}
|
||||
return;
|
||||
|
||||
pfd.fd = manager_kms->fd;
|
||||
pfd.events = POLL_IN | POLL_ERR;
|
||||
|
Loading…
Reference in New Issue
Block a user