compositor-x11: Remove support for ancient XCB
authorDaniel Stone <daniels@collabora.com>
Tue, 29 Nov 2016 12:03:35 +0000 (12:03 +0000)
committerDaniel Stone <daniels@collabora.com>
Mon, 16 Jan 2017 12:36:06 +0000 (12:36 +0000)
commitf86e67d01f7f3fd9176834f472ce8d35bf50ab78
treef80e3bc3d77c0f918bbd88cff94c7deb04f10e95
parentb51e6ed7100afd1b58b3b1988e08cec7de0fee86
compositor-x11: Remove support for ancient XCB

We had two non-pkg-config check paths in the configure script, to
support XCB functionality used before XCB had had an accompanying
release: xcb_poll_for_queued_event (released in 1.8, 2012), and a
usable XKB event mechanism (released in 1.9, 2013).

Convert the former to a version-based hard dependency, and the latter to
a version-based soft dependency. This avoids two compiler checks.

Signed-off-by: Daniel Stone <daniels@collabora.com>
Reviewed-by: Quentin Glidic <sardemff7+git@sardemff7.net>
configure.ac
libweston/compositor-x11.c