From 68993c012b88df43b2cd75a8c8704092760f28c0 Mon Sep 17 00:00:00 2001 From: Pier Luigi Fiorini Date: Wed, 25 Nov 2015 19:41:14 +0100 Subject: Add clients with the correct version Wayland clients might implement an older interface version, in that case we don't want to send unsupported requests. To ensure that we pick the lower version between the one asked by the client and the one we actually implement on the server. Change-Id: I4865780505db171295897fc7f6567c6f88e598fa Reviewed-by: Paul Olav Tvete --- src/compositor/compositor_api/qwaylandkeyboard.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/compositor/compositor_api/qwaylandkeyboard.h') diff --git a/src/compositor/compositor_api/qwaylandkeyboard.h b/src/compositor/compositor_api/qwaylandkeyboard.h index 9ec67a711..3b2282ae7 100644 --- a/src/compositor/compositor_api/qwaylandkeyboard.h +++ b/src/compositor/compositor_api/qwaylandkeyboard.h @@ -97,7 +97,7 @@ public: QWaylandSurface *focus() const; QWaylandClient *focusClient() const; - virtual void addClient(QWaylandClient *client, uint32_t id); + virtual void addClient(QWaylandClient *client, uint32_t id, uint32_t version); Q_SIGNALS: void focusChanged(QWaylandSurface *surface); -- cgit v1.2.3