summaryrefslogtreecommitdiff
path: root/xf86drmMode.c
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@virtuousgeek.org>2009-12-03 14:20:51 -0800
committerJesse Barnes <jbarnes@virtuousgeek.org>2009-12-03 14:27:08 -0800
commit14f5958f7fd9ebe8a772ea931feb044d2d5d967b (patch)
tree7977b2e2c575242929c0156b848e6313925d182c /xf86drmMode.c
parent53addc5d6ef7406d9fab5ea481cf68fa011870f1 (diff)
Bump event context structure version for page flipping
Diffstat (limited to 'xf86drmMode.c')
-rw-r--r--xf86drmMode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xf86drmMode.c b/xf86drmMode.c
index e9516851..317aa47f 100644
--- a/xf86drmMode.c
+++ b/xf86drmMode.c
@@ -701,7 +701,7 @@ int drmHandleEvent(int fd, drmEventContextPtr evctx)
U642VOID (vblank->user_data));
break;
case DRM_EVENT_FLIP_COMPLETE:
- if (evctx->version < 1 ||
+ if (evctx->version < 2 ||
evctx->page_flip_handler == NULL)
break;
vblank = (struct drm_event_vblank *) e;