-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
qt5dxcb-plugin: rebuild against qt5.13
- Loading branch information
1 parent
70d7212
commit dc84907
Showing
3 changed files
with
1,331 additions
and
1,174 deletions.
There are no files selected for viewing
22 changes: 22 additions & 0 deletions
22
srcpkgs/qt5dxcb-plugin/patches/deepin-qt5dxcb-plugin-qt5.13.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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) |
Oops, something went wrong.