summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/xcb/qxcbnativeinterface.h
diff options
context:
space:
mode:
authorJan Kundrát <jkt@kde.org>2015-03-12 17:00:44 +0100
committerJan Kundrát <jkt@kde.org>2015-03-12 17:11:17 +0000
commit5585d66ff01904232705e96d7d195e6dc51cb23a (patch)
tree0514a299d1230c85820e7da91c7b38e5829bf937 /src/plugins/platforms/xcb/qxcbnativeinterface.h
parent4de80f30ee03ff310584e142dfde1858719e0b67 (diff)
xcb: Add support for obtaining default xcb connection
This is needed by qtx11extras now that we can meet a nullptr QScreen. Change-Id: I755523cbbbbe188f454bd518d2d86a981542458f Reviewed-by: Richard J. Moore <rich@kde.org>
Diffstat (limited to 'src/plugins/platforms/xcb/qxcbnativeinterface.h')
-rw-r--r--src/plugins/platforms/xcb/qxcbnativeinterface.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/platforms/xcb/qxcbnativeinterface.h b/src/plugins/platforms/xcb/qxcbnativeinterface.h
index 64da388258..721c6f4b1d 100644
--- a/src/plugins/platforms/xcb/qxcbnativeinterface.h
+++ b/src/plugins/platforms/xcb/qxcbnativeinterface.h
@@ -98,6 +98,7 @@ public:
void *x11Screen();
void *rootWindow();
void *display();
+ void *connection();
static void setStartupId(const char *);
static void setAppTime(QScreen *screen, xcb_timestamp_t time);
static void setAppUserTime(QScreen *screen, xcb_timestamp_t time);