diff options
Diffstat (limited to 'kde-frameworks/khtml/files/khtml-5.90.0-fix-crash-in-wayland.patch')
-rw-r--r-- | kde-frameworks/khtml/files/khtml-5.90.0-fix-crash-in-wayland.patch | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/kde-frameworks/khtml/files/khtml-5.90.0-fix-crash-in-wayland.patch b/kde-frameworks/khtml/files/khtml-5.90.0-fix-crash-in-wayland.patch deleted file mode 100644 index c6ed34998037..000000000000 --- a/kde-frameworks/khtml/files/khtml-5.90.0-fix-crash-in-wayland.patch +++ /dev/null @@ -1,42 +0,0 @@ -From 04aa1739d06d3ff7d16a3296fd27fa392d8ba318 Mon Sep 17 00:00:00 2001 -From: Christoph Cullmann <cullmann@kde.org> -Date: Sat, 1 Jan 2022 23:42:16 +0100 -Subject: [PATCH] fix khtml crash in wayland session - ---- - src/khtmlview.cpp | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -diff --git a/src/khtmlview.cpp b/src/khtmlview.cpp -index 79f0d7c..75df959 100644 ---- a/src/khtmlview.cpp -+++ b/src/khtmlview.cpp -@@ -69,6 +69,7 @@ - #include <kstringhandler.h> - #include <kconfiggroup.h> - #include <ksharedconfig.h> -+#include <KWindowSystem> - - #include <QBitmap> - #include <QDialog> -@@ -1530,7 +1531,8 @@ void KHTMLView::mouseMoveEvent(QMouseEvent *_mouse) - - if (linkCursor != LINK_NORMAL && isVisible() && hasFocus()) { - #if HAVE_X11 -- -+ // ensure we don't trigger this code paths if we run in a Wayland session -+ if (KWindowSystem::isPlatformX11()) { - if (!d->cursorIconWidget) { - #if HAVE_X11 - d->cursorIconWidget = new QLabel(nullptr, Qt::X11BypassWindowManagerHint); -@@ -1572,6 +1574,7 @@ void KHTMLView::mouseMoveEvent(QMouseEvent *_mouse) - //TODO? - #endif - d->cursorIconWidget->show(); -+ } - #endif - } else if (d->cursorIconWidget) { - d->cursorIconWidget->hide(); --- -GitLab - |