summaryrefslogtreecommitdiffstats
path: root/tests/auto/client/mocksurface.h
diff options
context:
space:
mode:
authorGiulio Camuffo <giulio.camuffo@jollamobile.com>2014-09-30 17:09:49 +0300
committerGiulio Camuffo <giulio.camuffo@jollamobile.com>2014-10-09 09:40:10 +0200
commitbbd4a8f85b2e0ddaa94458569b8b5aa4128c52b1 (patch)
tree4649a8df94b875073245d1487b23b8ad48a12a57 /tests/auto/client/mocksurface.h
parent090a39558d99115698e34d61a8d914da4a0637bd (diff)
Fix the compositor's wayland versioning
We cannot just assume all clients implement the same version of the various interfaces as the compositor does. Keep track of them, and react accordingly when creating a resource or sending an event. Change-Id: I9792433a14d49c5c4df0c892fc1349ce0dfb0d43 Reviewed-by: Jørgen Lind <jorgen.lind@digia.com>
Diffstat (limited to 'tests/auto/client/mocksurface.h')
-rw-r--r--tests/auto/client/mocksurface.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/client/mocksurface.h b/tests/auto/client/mocksurface.h
index f2a2f4eb3..33ced4385 100644
--- a/tests/auto/client/mocksurface.h
+++ b/tests/auto/client/mocksurface.h
@@ -50,7 +50,7 @@ namespace Impl {
class Surface : public QtWaylandServer::wl_surface
{
public:
- Surface(wl_client *client, uint32_t id, Compositor *compositor);
+ Surface(wl_client *client, uint32_t id, int v, Compositor *compositor);
~Surface();
Compositor *compositor() const { return m_compositor; }