diff --git a/srcpkgs/qutebrowser/patches/fix-wayland-egl-drag-and-drop.patch b/srcpkgs/qutebrowser/patches/fix-wayland-egl-drag-and-drop.patch new file mode 100644 index 00000000000..8a01581a705 --- /dev/null +++ b/srcpkgs/qutebrowser/patches/fix-wayland-egl-drag-and-drop.patch @@ -0,0 +1,23 @@ +From b317038a01094136d06d4cb769b7755450b94f61 Mon Sep 17 00:00:00 2001 +From: Florian Bruhin +Date: Mon, 18 Sep 2023 18:03:21 +0200 +Subject: [PATCH] eventfilter: Also enable workaround on wayland-egl + +Will be fixed nicely on main, this is a more minimal fix +--- + qutebrowser/keyinput/eventfilter.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/qutebrowser/keyinput/eventfilter.py b/qutebrowser/keyinput/eventfilter.py +index 306d4405b6d..ce9959bd4e3 100644 +--- a/qutebrowser/keyinput/eventfilter.py ++++ b/qutebrowser/keyinput/eventfilter.py +@@ -86,7 +86,7 @@ def eventFilter(self, obj: Optional[QObject], event: Optional[QEvent]) -> bool: + + if ( + ev_type == QEvent.Type.DragEnter and +- objects.qapp.platformName() == "wayland" and ++ objects.qapp.platformName() in ["wayland", "wayland-egl"] and + qVersion() == "6.5.2" + ): + # WORKAROUND for https://bugreports.qt.io/browse/QTBUG-115757 diff --git a/srcpkgs/qutebrowser/template b/srcpkgs/qutebrowser/template index b06a4ae4cda..f2e8904d7af 100644 --- a/srcpkgs/qutebrowser/template +++ b/srcpkgs/qutebrowser/template @@ -1,7 +1,7 @@ # Template file for 'qutebrowser' pkgname=qutebrowser version=3.0.0 -revision=1 +revision=2 build_style=python3-module hostmakedepends="python3-setuptools asciidoc" depends="python3-Jinja2 python3-yaml"