modesetting: Use passed-in fd for drm event monitoring NotifyFd callback

This is a cleanup, proposed by Adam Jackson, but wasn't merged with
the original NotifyFD changes.

Signed-off-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
Keith Packard 2015-08-27 11:49:35 -07:00 committed by Adam Jackson
parent 6bf7b49f67
commit 6299ef3d74

View File

@ -253,7 +253,7 @@ ms_drm_socket_handler(int fd, int ready, void *data)
if (data == NULL)
return;
drmHandleEvent(ms->fd, &ms->event_context);
drmHandleEvent(fd, &ms->event_context);
}
/*