make the xcb-xkb compile test more specific
try hard to detect only 1.10 and up. Change-Id: I14517a42b810604f65c07df74f2ef9e840393a38 Reviewed-by: Gatis Paeglis <gatis.paeglis@qt.io>
This commit is contained in:
parent
95ea1b1aa8
commit
1816b53138
@ -51,6 +51,9 @@ int main(int, char **)
|
||||
|
||||
xcb_connection_t *connection = xcb_connect("", &primaryScreen);
|
||||
|
||||
// This takes more arguments in xcb-xkb < 1.10.
|
||||
xcb_xkb_get_kbd_by_name_unchecked(NULL, 0, 0, 0, 0);
|
||||
|
||||
// This won't compile unless libxcb >= 1.5 which defines XCB_ATOM_PRIMARY.
|
||||
int xcbAtomPrimary = XCB_ATOM_PRIMARY;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user