summaryrefslogtreecommitdiffstats
path: root/src/client/qwaylanddatadevicemanager.cpp
diff options
context:
space:
mode:
authorGiulio Camuffo <giulio.camuffo@jollamobile.com>2014-08-23 20:00:03 +0300
committerGiulio Camuffo <giulio.camuffo@jollamobile.com>2014-08-23 21:41:11 +0200
commit4c5920fc041ee42e3aae6c954d48eb424c453de9 (patch)
tree3a9d07b0cf66f9e728e43c71f66198d8e8e67e1c /src/client/qwaylanddatadevicemanager.cpp
parent6855c2c022d0071d9ac998c4349347d31af47308 (diff)
Explicitly define the interface versions
Currently a global is bound with the version the interface has in the xml file. This is a problem for apps that explicitly link to libwayland-client because they may link to a newer libwayland, so the version of some interface may be higher than the one that it is actually implemented. Change-Id: Id0dbe6c0f1e05fe91954b9d8d9472d42d2053cdc Reviewed-by: Laszlo Agocs <laszlo.agocs@digia.com>
Diffstat (limited to 'src/client/qwaylanddatadevicemanager.cpp')
-rw-r--r--src/client/qwaylanddatadevicemanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/qwaylanddatadevicemanager.cpp b/src/client/qwaylanddatadevicemanager.cpp
index 1aef77349..ea578ff7b 100644
--- a/src/client/qwaylanddatadevicemanager.cpp
+++ b/src/client/qwaylanddatadevicemanager.cpp
@@ -51,7 +51,7 @@
QT_BEGIN_NAMESPACE
QWaylandDataDeviceManager::QWaylandDataDeviceManager(QWaylandDisplay *display, uint32_t id)
- : wl_data_device_manager(display->wl_registry(), id)
+ : wl_data_device_manager(display->wl_registry(), id, 1)
, m_display(display)
{
// Create transfer devices for all input devices.