diff options
author | Scott Anderson <scott@anderso.nz> | 2019-11-18 19:46:05 +1300 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2019-11-18 11:53:17 +0100 |
commit | 3317134adff0ed179e0ecaea6d778dbd0684f771 (patch) | |
tree | de5ce98952c8a1f239b92b8baf92ce76073a116b /backend/x11 | |
parent | b58e8451b8e5b301d845a5191438ceede12ef411 (diff) |
backend/x11: Drop required present version
We say 1.2, but I don't think we actually use anything that was
introduced past 1.0.
Diffstat (limited to 'backend/x11')
-rw-r--r-- | backend/x11/backend.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/backend/x11/backend.c b/backend/x11/backend.c index 9a7387ce..2eea800d 100644 --- a/backend/x11/backend.c +++ b/backend/x11/backend.c @@ -228,12 +228,11 @@ struct wlr_backend *wlr_x11_backend_create(struct wl_display *display, x11->present_opcode = ext->major_opcode; xcb_present_query_version_cookie_t present_cookie = - xcb_present_query_version(x11->xcb, 1, 2); + xcb_present_query_version(x11->xcb, 1, 0); xcb_present_query_version_reply_t *present_reply = xcb_present_query_version_reply(x11->xcb, present_cookie, NULL); - if (!present_reply || (present_reply->major_version <= 1 && - present_reply->minor_version < 2)) { + if (!present_reply) { wlr_log(WLR_ERROR, "X11 does not support required Present version"); free(present_reply); goto error_display; |