summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/wayland/windowmanager_integration/qwaylandwindowmanagerintegration.h
diff options
context:
space:
mode:
authorLasse Holmstedt <lasse.holmstedt@nokia.com>2011-05-25 11:24:37 +0200
committerQt Continuous Integration System <qt-info@nokia.com>2011-05-25 17:05:49 +0200
commit1909e038823f8dff9d18882b64e637b15234f837 (patch)
tree6a34c18096c7a0fdd67a19acc5451807d1a584e0 /src/plugins/platforms/wayland/windowmanager_integration/qwaylandwindowmanagerintegration.h
parent6fe12b0e80b95775b1daa201ea601e537c600286 (diff)
Add authentication token support for wayland windows
For compositors that support it, the wayland clients can associate themselves with an auth token, specified by WL_AUTHENTICATION_TOKEN env var, or by directly specifying it in the wayland client plugin. Change-Id: I74a50a27c7c61c2b2cf1e09868618f36edc94cb1 Reviewed-by: Samuel Rødal Reviewed-on: http://codereview.qt.nokia.com/116 Reviewed-by: Paul Olav Tvete <paul.tvete@nokia.com>
Diffstat (limited to 'src/plugins/platforms/wayland/windowmanager_integration/qwaylandwindowmanagerintegration.h')
-rw-r--r--src/plugins/platforms/wayland/windowmanager_integration/qwaylandwindowmanagerintegration.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/platforms/wayland/windowmanager_integration/qwaylandwindowmanagerintegration.h b/src/plugins/platforms/wayland/windowmanager_integration/qwaylandwindowmanagerintegration.h
index 01b814f22a..0e3781dbe2 100644
--- a/src/plugins/platforms/wayland/windowmanager_integration/qwaylandwindowmanagerintegration.h
+++ b/src/plugins/platforms/wayland/windowmanager_integration/qwaylandwindowmanagerintegration.h
@@ -56,6 +56,7 @@ public:
void mapSurfaceToProcess(struct wl_surface *surface, long long processId);
void mapClientToProcess(long long processId);
+ void authenticateWithToken(const QByteArray &token = QByteArray());
private:
static void wlHandleListenerGlobal(wl_display *display, uint32_t id,