diff options
author | David Redondo <qt@david-redondo.de> | 2024-01-31 12:06:16 +0100 |
---|---|---|
committer | David Redondo <qt@david-redondo.de> | 2024-02-02 14:30:15 +0100 |
commit | f61e39ac0e3a50db088c145c5d04395044db958c (patch) | |
tree | 6da88c58850d4ad14c3ccaff5d05cfd8b7de83f8 /src/client/qwaylanddisplay.cpp | |
parent | 9e1e6665511dcfae24eea43c63f03f91c17521cc (diff) |
client: Switch qt-toplevel-drag to xdg-toplevel-drag
While no released compositor implemented qt-toplevel-drag it was a
valuable to step to prove the protocol and the Qt implementation
together with development pre-release versions of KWin. Now that the
protocol is standardized we can switch to that version which is
functionally identical.
Pick-to: 6.6 6.7
Change-Id: I3beefe542cbabeddba4468b5d1fa24fcb05a2e5a
Reviewed-by: David Edmundson <davidedmundson@kde.org>
Diffstat (limited to 'src/client/qwaylanddisplay.cpp')
-rw-r--r-- | src/client/qwaylanddisplay.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/client/qwaylanddisplay.cpp b/src/client/qwaylanddisplay.cpp index 797013970..da29980c7 100644 --- a/src/client/qwaylanddisplay.cpp +++ b/src/client/qwaylanddisplay.cpp @@ -51,7 +51,7 @@ #include <QtWaylandClient/private/qwayland-fractional-scale-v1.h> #include <QtWaylandClient/private/qwayland-viewporter.h> #include <QtWaylandClient/private/qwayland-cursor-shape-v1.h> -#include <QtWaylandClient/private/qwayland-qt-toplevel-drag-v1.h> +#include <QtWaylandClient/private/qwayland-xdg-toplevel-drag-v1.h> #include <QtCore/private/qcore_unix_p.h> @@ -773,10 +773,10 @@ void QWaylandDisplay::registry_global(uint32_t id, const QString &interface, uin wp_cursor_shape_manager_v1_destroy>( registry, id, std::min(1u, version))); } else if ( - interface == QLatin1String(QtWayland::qt_toplevel_drag_manager_v1::interface()->name)) { + interface == QLatin1String(QtWayland::xdg_toplevel_drag_manager_v1::interface()->name)) { mGlobals.xdgToplevelDragManager.reset( - new WithDestructor<QtWayland::qt_toplevel_drag_manager_v1, - qt_toplevel_drag_manager_v1_destroy>(registry, id, 1)); + new WithDestructor<QtWayland::xdg_toplevel_drag_manager_v1, + xdg_toplevel_drag_manager_v1_destroy>(registry, id, 1)); } mRegistryGlobals.append(RegistryGlobal(id, interface, version, registry)); |