diff options
Diffstat (limited to 'config.tests/qpa')
-rw-r--r-- | config.tests/qpa/xcb-syslibs/xcb.cpp | 3 | ||||
-rw-r--r-- | config.tests/qpa/xcb-xkb/xcb-xkb.cpp | 3 | ||||
-rw-r--r-- | config.tests/qpa/xcb/xcb.cpp | 4 |
3 files changed, 7 insertions, 3 deletions
diff --git a/config.tests/qpa/xcb-syslibs/xcb.cpp b/config.tests/qpa/xcb-syslibs/xcb.cpp index 0e1bd76e6c..00d0da1b6c 100644 --- a/config.tests/qpa/xcb-syslibs/xcb.cpp +++ b/config.tests/qpa/xcb-syslibs/xcb.cpp @@ -57,8 +57,5 @@ int main(int, char **) xcb_connection_t *connection = xcb_connect("", &primaryScreen); - // This won't compile unless libxcb >= 1.5 which defines XCB_ATOM_PRIMARY. - int xcbAtomPrimary = XCB_ATOM_PRIMARY; - return 0; } diff --git a/config.tests/qpa/xcb-xkb/xcb-xkb.cpp b/config.tests/qpa/xcb-xkb/xcb-xkb.cpp index 6a88944aee..9685649633 100644 --- a/config.tests/qpa/xcb-xkb/xcb-xkb.cpp +++ b/config.tests/qpa/xcb-xkb/xcb-xkb.cpp @@ -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; diff --git a/config.tests/qpa/xcb/xcb.cpp b/config.tests/qpa/xcb/xcb.cpp index a5b419e695..efb4f0ca2e 100644 --- a/config.tests/qpa/xcb/xcb.cpp +++ b/config.tests/qpa/xcb/xcb.cpp @@ -43,5 +43,9 @@ int main(int, char **) { int primaryScreen = 0; xcb_connection_t *t = xcb_connect("", &primaryScreen); + + // This won't compile unless libxcb >= 1.5 which defines XCB_ATOM_PRIMARY. + int xcbAtomPrimary = XCB_ATOM_PRIMARY; + return 0; } |