diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-08-16 21:30:25 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-08-16 21:30:25 +0100 |
commit | 2ef316f0ffbd90d833effd2d09d1232e5767e321 (patch) | |
tree | b283d778349e3970cd176709bcc3bc4e401d9f17 /kde-plasma/kwin/files/kwin-5.27.6-fix-crash-click-on-tooltip.patch | |
parent | a109f15e80eca93b1cc39b6f7ddb12124dfe2ca7 (diff) |
gentoo auto-resync : 16:08:2023 - 21:30:25
Diffstat (limited to 'kde-plasma/kwin/files/kwin-5.27.6-fix-crash-click-on-tooltip.patch')
-rw-r--r-- | kde-plasma/kwin/files/kwin-5.27.6-fix-crash-click-on-tooltip.patch | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/kde-plasma/kwin/files/kwin-5.27.6-fix-crash-click-on-tooltip.patch b/kde-plasma/kwin/files/kwin-5.27.6-fix-crash-click-on-tooltip.patch deleted file mode 100644 index b8384cd9abed..000000000000 --- a/kde-plasma/kwin/files/kwin-5.27.6-fix-crash-click-on-tooltip.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 21d193506851e0727860927ab289869732b06102 Mon Sep 17 00:00:00 2001 -From: Xaver Hugl <xaver.hugl@gmail.com> -Date: Wed, 21 Jun 2023 12:39:15 +0200 -Subject: [PATCH] input: don't crash if the internal handle is nullptr - -Pointer focus can stay on a closed tooltip while focus updates are blocked, -so this needs to be checked for - -BUG: 471285 - - -(cherry picked from commit c25aaa2c9fbf8ec10f1ba16fecd4b31704fdaf0c) ---- - src/input.cpp | 4 ++++ - 1 file changed, 4 insertions(+) - -diff --git a/src/input.cpp b/src/input.cpp -index b4940f123ad..d3d32020580 100644 ---- a/src/input.cpp -+++ b/src/input.cpp -@@ -1185,6 +1185,10 @@ class InternalWindowEventFilter : public InputEventFilter - return false; - } - QWindow *internal = static_cast<InternalWindow *>(input()->pointer()->focus())->handle(); -+ if (!internal) { -+ // the handle can be nullptr if the tooltip gets closed while focus updates are blocked -+ return false; -+ } - QMouseEvent mouseEvent(event->type(), - event->pos() - internal->position(), - event->globalPos(), --- -GitLab - |