forked from pool/libqt5-qtbase
8128afa184
- Add patch to work around focus issues with VirtualBox (boo#1140084, QTBUG-76742): * 0001-Decrease-focusInTimer-timer-from-400-to-200.patch OBS-URL: https://build.opensuse.org/request/show/713344 OBS-URL: https://build.opensuse.org/package/show/KDE:Qt:5.13/libqt5-qtbase?expand=0&rev=17
27 lines
937 B
Diff
27 lines
937 B
Diff
From 75a6b34e363f20664828f2e276de468a2ad4c9a6 Mon Sep 17 00:00:00 2001
|
|
From: Fabian Vogt <fabian@ritter-vogt.de>
|
|
Date: Wed, 3 Jul 2019 20:55:27 +0200
|
|
Subject: [PATCH] Decrease focusInTimer timer from 400 to 200
|
|
|
|
Workaround for focus issues with VirtualBox (QTBUG-76742).
|
|
---
|
|
src/plugins/platforms/xcb/qxcbwindow.cpp | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/src/plugins/platforms/xcb/qxcbwindow.cpp b/src/plugins/platforms/xcb/qxcbwindow.cpp
|
|
index 9382488b74..a449ad8349 100644
|
|
--- a/src/plugins/platforms/xcb/qxcbwindow.cpp
|
|
+++ b/src/plugins/platforms/xcb/qxcbwindow.cpp
|
|
@@ -848,7 +848,7 @@ void QXcbWindow::doFocusOut()
|
|
connection()->setFocusWindow(nullptr);
|
|
relayFocusToModalWindow();
|
|
// Do not set the active window to nullptr if there is a FocusIn coming.
|
|
- connection()->focusInTimer().start(400);
|
|
+ connection()->focusInTimer().start(200);
|
|
}
|
|
|
|
struct QtMotifWmHints {
|
|
--
|
|
2.22.0
|
|
|