From 44f23c0ea4445bf8f0ab624bb432600b4ecf0b4e Mon Sep 17 00:00:00 2001 From: jean-michel <jean-michel@obarun.org> Date: Thu, 12 Sep 2019 14:21:01 +0200 Subject: [PATCH] Fix keyboard input in webengine --- trunk/qtbug-77364.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 trunk/qtbug-77364.patch diff --git a/trunk/qtbug-77364.patch b/trunk/qtbug-77364.patch new file mode 100644 index 0000000..fd28481 --- /dev/null +++ b/trunk/qtbug-77364.patch @@ -0,0 +1,12 @@ +diff --git a/src/widgets/kernel/qwidget.cpp b/src/widgets/kernel/qwidget.cpp +index 04290a4ce1..27773d5762 100644 +--- a/src/widgets/kernel/qwidget.cpp ++++ b/src/widgets/kernel/qwidget.cpp +@@ -6446,7 +6446,7 @@ void QWidget::setFocusProxy(QWidget * w) + + if (changingAppFocusWidget) { + QWidget *newDeepestFocusProxy = d_func()->deepestFocusProxy(); +- QApplicationPrivate::focus_widget = newDeepestFocusProxy ? newDeepestFocusProxy : this; ++ QApplicationPrivate::setFocusWidget(newDeepestFocusProxy ? newDeepestFocusProxy : this, Qt::NoFocusReason); + } + } -- GitLab