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/Makefile1
-rw-r--r--x11/plasma6-layer-shell-qt/distinfo6
-rw-r--r--x11/plasma6-layer-shell-qt/files/patch-src_qwaylandlayersurface.cpp17
3 files changed, 21 insertions, 3 deletions
diff --git a/x11/plasma6-layer-shell-qt/Makefile b/x11/plasma6-layer-shell-qt/Makefile
index 7d07e029f098..30f4a19b164f 100644
--- a/x11/plasma6-layer-shell-qt/Makefile
+++ b/x11/plasma6-layer-shell-qt/Makefile
@@ -1,5 +1,6 @@
PORTNAME= layer-shell-qt
DISTVERSION= ${KDE_PLASMA_VERSION}
+PORTREVISION= 1
CATEGORIES= x11 kde kde-plasma
COMMENT= Qt component to allow applications to make use of the Wayland wl-layer-shell protocol
diff --git a/x11/plasma6-layer-shell-qt/distinfo b/x11/plasma6-layer-shell-qt/distinfo
index c1b521679475..f48028aacecd 100644
--- a/x11/plasma6-layer-shell-qt/distinfo
+++ b/x11/plasma6-layer-shell-qt/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1751380636
-SHA256 (KDE/plasma/6.4.2/layer-shell-qt-6.4.2.tar.xz) = 7bead02f506e7c1efadc61588cc52e8ed2fa467ca183485c3b7280c08a5a6312
-SIZE (KDE/plasma/6.4.2/layer-shell-qt-6.4.2.tar.xz) = 35748
+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
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";
+ }