summaryrefslogtreecommitdiffstats
path: root/config.tests/qpa/xcb/xcb.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'config.tests/qpa/xcb/xcb.cpp')
-rw-r--r--config.tests/qpa/xcb/xcb.cpp19
1 files changed, 1 insertions, 18 deletions
diff --git a/config.tests/qpa/xcb/xcb.cpp b/config.tests/qpa/xcb/xcb.cpp
index 0a59ba708f..8f46e4c5d0 100644
--- a/config.tests/qpa/xcb/xcb.cpp
+++ b/config.tests/qpa/xcb/xcb.cpp
@@ -41,26 +41,9 @@
#include <xcb/xcb.h>
-// FIXME This workaround can be removed for xcb-icccm > 3.8
-#define class class_name
-#include <xcb/xcb_icccm.h>
-#undef class
-
-#include <xcb/xfixes.h>
-#include <xcb/xcb_image.h>
-#include <xcb/xcb_keysyms.h>
-#include <xcb/sync.h>
-#include <xcb/randr.h>
-#include <xcb/shm.h>
-
int main(int, char **)
{
int primaryScreen = 0;
-
- 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;
-
+ xcb_connection_t *t = xcb_connect("", &primaryScreen);
return 0;
}