diff options
author | Jørgen Lind <jorgen.lind@theqtcompany.com> | 2015-05-08 08:49:53 +0200 |
---|---|---|
committer | Jørgen Lind <jorgen.lind@theqtcompany.com> | 2015-08-28 13:09:42 +0200 |
commit | 5a72fce03ee0046ffc67229f788332259e233492 (patch) | |
tree | 9ba5edd207bb2ca03442edd94adfb173f43d4b8e /src/compositor/compositor_api/qwaylandkeyboard.cpp | |
parent | 1317bbb4fade31be698d89dc3d0a229f66af89fa (diff) |
Make addClient virutal api for Keyboard Pointer and touch
Change-Id: I8787d109ffcd3017d8ee3d13715016c3ce8e9287
Diffstat (limited to 'src/compositor/compositor_api/qwaylandkeyboard.cpp')
-rw-r--r-- | src/compositor/compositor_api/qwaylandkeyboard.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/compositor/compositor_api/qwaylandkeyboard.cpp b/src/compositor/compositor_api/qwaylandkeyboard.cpp index 241f8518a..e02e53fa3 100644 --- a/src/compositor/compositor_api/qwaylandkeyboard.cpp +++ b/src/compositor/compositor_api/qwaylandkeyboard.cpp @@ -126,4 +126,10 @@ QWaylandKeyboardGrabber *QWaylandKeyboard::currentGrab() const return d->currentGrab(); } +void QWaylandKeyboard::addClient(QWaylandClient *client, uint32_t id) +{ + Q_D(QWaylandKeyboard); + d->add(client->client(), id, QtWaylandServer::wl_keyboard::interfaceVersion()); +} + QT_END_NAMESPACE |