drm_hwcomposer: Use correct DRM event context version
am: 2d1bc46486
Change-Id: I800ac862d16cbe7b74e877a887ab6eaf58c16440
diff --git a/drmeventlistener.cpp b/drmeventlistener.cpp
index ca9d7fc..2607eef 100644
--- a/drmeventlistener.cpp
+++ b/drmeventlistener.cpp
@@ -126,7 +126,7 @@
if (FD_ISSET(drm_->fd(), &fds_)) {
drmEventContext event_context = {
- .version = DRM_EVENT_CONTEXT_VERSION,
+ .version = 2,
.vblank_handler = NULL,
.page_flip_handler = DrmEventListener::FlipHandler};
drmHandleEvent(drm_->fd(), &event_context);