summaryrefslogtreecommitdiff
path: root/x11/plasma6-layer-shell-qt
diff options
context:
space:
mode:
Diffstat (limited to 'x11/plasma6-layer-shell-qt')
-rw-r--r--x11/plasma6-layer-shell-qt/distinfo6
-rw-r--r--x11/plasma6-layer-shell-qt/files/patch-src_qwaylandlayersurface.cpp17
2 files changed, 20 insertions, 3 deletions
diff --git a/x11/plasma6-layer-shell-qt/distinfo b/x11/plasma6-layer-shell-qt/distinfo
index f48028aacecd..50c4cdfc58cd 100644
--- a/x11/plasma6-layer-shell-qt/distinfo
+++ b/x11/plasma6-layer-shell-qt/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1752584484
-SHA256 (KDE/plasma/6.4.3/layer-shell-qt-6.4.3.tar.xz) = 33e64ec0cd2d9e9547c3c3faa9c4d6a2006bf681fac361511f441b51f9dddb7c
-SIZE (KDE/plasma/6.4.3/layer-shell-qt-6.4.3.tar.xz) = 35744
+TIMESTAMP = 1754413486
+SHA256 (KDE/plasma/6.4.4/layer-shell-qt-6.4.4.tar.xz) = 84b31a3e73b150fa611fb51150987600eddd0edc578888e953e7fd37f550643d
+SIZE (KDE/plasma/6.4.4/layer-shell-qt-6.4.4.tar.xz) = 36040
diff --git a/x11/plasma6-layer-shell-qt/files/patch-src_qwaylandlayersurface.cpp b/x11/plasma6-layer-shell-qt/files/patch-src_qwaylandlayersurface.cpp
new file mode 100644
index 000000000000..264ac398bdcd
--- /dev/null
+++ b/x11/plasma6-layer-shell-qt/files/patch-src_qwaylandlayersurface.cpp
@@ -0,0 +1,17 @@
+Fix the crash that happens when right-clicking the desktop surface
+
+--- src/qwaylandlayersurface.cpp.orig 2025-07-15 09:53:41 UTC
++++ src/qwaylandlayersurface.cpp
+@@ -113,10 +113,8 @@ void QWaylandLayerSurface::attachPopup(QtWaylandClient
+
+ void QWaylandLayerSurface::attachPopup(QtWaylandClient::QWaylandShellSurface *popup)
+ {
+- std::any anyRole = popup->surfaceRole();
+-
+- if (auto role = std::any_cast<::xdg_popup *>(&anyRole)) {
+- get_popup(*role);
++ if (auto role = popup->nativeResource("xdg_popup")) {
++ get_popup(reinterpret_cast<struct ::xdg_popup*>(role));
+ } else {
+ qCWarning(LAYERSHELLQT) << "Cannot attach popup of unknown type";
+ }