aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-10-09 13:40:06 +0200
committerGitHub <noreply@github.com>2018-10-09 13:40:06 +0200
commitfeb0614d3238a52e3eed0beca41fd0694aa7d31e (patch)
tree439f0978f94bd2bca286e09cbafa5b4e10e9f0bb
parent75005fd58dcf82f8775e1216fb98c9ad3287d116 (diff)
parent77478ac3029d2ff3f929af8917d1356c731e5d73 (diff)
Merge pull request #1299 from Emantor/set-drm-version
backend/drm: set drmEventContext version to 2
-rw-r--r--backend/drm/drm.c2
1 files changed, 1 insertions, 1 deletions
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,
};