mirror of
https://github.com/brl/mutter.git
synced 2025-01-23 18:09:10 +00:00
monitor-manager-kms: Fix recently introduced build issue
The recent commit 6dd28bd2c7e0c "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;
|
int ret;
|
||||||
|
|
||||||
if (errno != EAGAIN)
|
if (errno != EAGAIN)
|
||||||
{
|
return;
|
||||||
g_set_error_literal (error, G_IO_ERROR, G_IO_ERROR_FAILED,
|
|
||||||
strerror (errno));
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
pfd.fd = manager_kms->fd;
|
pfd.fd = manager_kms->fd;
|
||||||
pfd.events = POLL_IN | POLL_ERR;
|
pfd.events = POLL_IN | POLL_ERR;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user