qt5dxcb-plugin: update to 1.2.6.

This commit is contained in:
John 2019-07-16 07:42:38 +00:00
parent 3ee1b2b7f0
commit a785050655
3 changed files with 3 additions and 3546 deletions

View file

@ -1,22 +0,0 @@
diff --git a/platformplugin/windoweventhook.cpp b/platformplugin/windoweventhook.cpp
index 742b41d..428dcb0 100644
--- a/platformplugin/windoweventhook.cpp
+++ b/platformplugin/windoweventhook.cpp
@@ -359,6 +359,8 @@ void WindowEventHook::handleFocusInEvent(const xcb_focus_in_event_t *event)
if (relayFocusToModalWindow(w, xcbWindow->connection()))
return;
+ xcbWindow->connection()->focusInTimer().stop();
+
#if QT_VERSION >= QT_VERSION_CHECK(5, 9, 0)
xcbWindow->connection()->setFocusWindow(w);
#else
@@ -433,7 +435,7 @@ void WindowEventHook::handleFocusOutEvent(const xcb_focus_out_event_t *event)
// Do not set the active window to 0 if there is a FocusIn coming.
// There is however no equivalent for XPutBackEvent so register a
// callback for QXcbConnection instead.
- xcbWindow->connection()->addPeekFunc(focusInPeeker);
+ xcbWindow->connection()->focusInTimer().start(400);
}
void WindowEventHook::handlePropertyNotifyEvent(const xcb_property_notify_event_t *event)

File diff suppressed because it is too large Load diff

View file

@ -1,7 +1,7 @@
# Template file for 'qt5dxcb-plugin'
pkgname=qt5dxcb-plugin
version=1.2.5
revision=2
version=1.2.6
revision=1
build_style=qmake
make_build_args="VERSION=${version}"
hostmakedepends="pkg-config qt5-qmake"
@ -15,7 +15,7 @@ license="GPL-3.0-or-later"
homepage="https://github.com/linuxdeepin/qt5dxcb-plugin/"
changelog="https://github.com/linuxdeepin/qt5dxcb-plugin/blob/master/CHANGELOG.md"
distfiles="https://github.com/linuxdeepin/qt5dxcb-plugin/archive/${version}.tar.gz"
checksum=03133438e7dbde56193510a2da6267d27f3f0c04e9dc83ec47c1705c2cf9b9c2
checksum=f485eb5244a329e4d0c3ae4680d56cc98d9b47e9d88d60dfc6d75cf0ed3eabad
patch_args="-Np1"
pre_configure() {