From 62481fe9f6f7445600a5b3820bbdfc422ca85d52 Mon Sep 17 00:00:00 2001 From: Martin Zielinski Date: Mon, 4 Jul 2011 09:41:26 +0200 Subject: Fixed wayland windowmanager-protocol authorization The authorization is now handled more robust. The client tries to authenticate as soon as a surface is created, but does so only if the authentication token is valid. A re-authorization than happens when requestActivateWindow() is called. This is needed to get the auth-process properly working even with pre-started clients, that do not have a valid token on surface-creation time. Change-Id: I4371b424686b9d5a6a163a802ec66a33c0aeeea7 Reviewed-on: http://codereview.qt.nokia.com/1207 Reviewed-by: Qt Sanity Bot Reviewed-by: Lasse Holmstedt --- .../wayland/gl_integration/xcomposite_egl/qwaylandxcompositeeglwindow.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/plugins/platforms/wayland/gl_integration/xcomposite_egl/qwaylandxcompositeeglwindow.h') diff --git a/src/plugins/platforms/wayland/gl_integration/xcomposite_egl/qwaylandxcompositeeglwindow.h b/src/plugins/platforms/wayland/gl_integration/xcomposite_egl/qwaylandxcompositeeglwindow.h index 707801905d..ea4dd2d626 100644 --- a/src/plugins/platforms/wayland/gl_integration/xcomposite_egl/qwaylandxcompositeeglwindow.h +++ b/src/plugins/platforms/wayland/gl_integration/xcomposite_egl/qwaylandxcompositeeglwindow.h @@ -55,6 +55,7 @@ public: QPlatformGLContext *glContext() const; void setGeometry(const QRect &rect); + void requestActivateWindow(); private: QWaylandXCompositeEGLIntegration *mGlxIntegration; -- cgit v1.2.3