qt5dxcb-plugin: rebuild against qt5.13
This commit is contained in:
parent
70d72120c4
commit
dc84907e40
3 changed files with 1033 additions and 876 deletions
|
@ -0,0 +1,22 @@
|
||||||
|
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
|
@ -1,14 +1,14 @@
|
||||||
# Template file for 'qt5dxcb-plugin'
|
# Template file for 'qt5dxcb-plugin'
|
||||||
pkgname=qt5dxcb-plugin
|
pkgname=qt5dxcb-plugin
|
||||||
version=1.2.5
|
version=1.2.5
|
||||||
revision=1
|
revision=2
|
||||||
build_style=qmake
|
build_style=qmake
|
||||||
make_build_args="VERSION=${version}"
|
make_build_args="VERSION=${version}"
|
||||||
hostmakedepends="pkg-config qt5-qmake"
|
hostmakedepends="pkg-config qt5-qmake"
|
||||||
makedepends="cairo-devel libSM-devel libXi-devel libxkbcommon-devel
|
makedepends="cairo-devel libSM-devel libXi-devel libxkbcommon-devel
|
||||||
qt5-x11extras-devel xcb-util-image-devel xcb-util-keysyms-devel
|
qt5-x11extras-devel xcb-util-image-devel xcb-util-keysyms-devel
|
||||||
xcb-util-renderutil-devel xcb-util-wm-devel"
|
xcb-util-renderutil-devel xcb-util-wm-devel"
|
||||||
depends="qt5>=5.11.3<5.11.4"
|
depends="qt5>=5.13.0<5.13.1"
|
||||||
short_desc="Qt platform plugins for DDE"
|
short_desc="Qt platform plugins for DDE"
|
||||||
maintainer="John <johnz@posteo.net>"
|
maintainer="John <johnz@posteo.net>"
|
||||||
license="GPL-3.0-or-later"
|
license="GPL-3.0-or-later"
|
||||||
|
|
Loading…
Reference in a new issue