summaryrefslogtreecommitdiff
path: root/src/client/qwaylandshellsurface.cpp
diff options
context:
space:
mode:
authorAleix Pol <aleixpol@kde.org>2020-11-10 19:06:48 +0100
committerDavid Redondo <qt@david-redondo.de>2021-12-09 10:33:08 +0100
commitbd6dbf01f13007c20f93080d59b26d3635a81a9d (patch)
treeb44c2917c626ec3192e028c843413c354df7d11f /src/client/qwaylandshellsurface.cpp
parent283a2d61d03315495a52d82f356e7cb5292f4bb4 (diff)
downloadqtwayland-bd6dbf01f13007c20f93080d59b26d3635a81a9d.tar.gz
Implement xdg_activation_v1 protocol
Change-Id: Ib5c8d0c6a209308c2c1a7f5e45d8866ba0127d81 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
Diffstat (limited to 'src/client/qwaylandshellsurface.cpp')
-rw-r--r--src/client/qwaylandshellsurface.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/client/qwaylandshellsurface.cpp b/src/client/qwaylandshellsurface.cpp
index 81e05a44..f87e5962 100644
--- a/src/client/qwaylandshellsurface.cpp
+++ b/src/client/qwaylandshellsurface.cpp
@@ -105,6 +105,17 @@ uint32_t QWaylandShellSurface::getSerial(QWaylandInputDevice *inputDevice)
return inputDevice->serial();
}
+void QWaylandShellSurface::setXdgActivationToken(const QString &token)
+{
+ Q_UNUSED(token);
+ qCWarning(lcQpaWayland) << "setXdgActivationToken not implemented" << token;
+}
+
+void QWaylandShellSurface::requestXdgActivationToken(quint32 serial)
+{
+ Q_UNUSED(serial);
+ Q_EMIT m_window->xdgActivationTokenCreated({});
+}
}
QT_END_NAMESPACE