diff --git a/backend/drm/drm.c b/backend/drm/drm.c index 00525762..5d589d4f 100644 --- a/backend/drm/drm.c +++ b/backend/drm/drm.c @@ -1261,7 +1261,7 @@ static void page_flip_handler(int fd, unsigned seq, int handle_drm_event(int fd, uint32_t mask, void *data) { drmEventContext event = { - .version = DRM_EVENT_CONTEXT_VERSION, + .version = 2, .page_flip_handler = page_flip_handler, };