-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Windows QPA: Rework how we activate the window
The new implementation has the following advantages compared to the old one: 0. Qt's default activation behavior is not changed, this patch only improves how we forcely activate the window. 1. Account for the special case that the foreground window maybe hangs. 2. Truly bring the window to front if the window is hidden or minimized. 3. Use early return to save many indentation. Change-Id: If51ad943fbc9771ebdddfa0e49732b12566ca2b6 Reviewed-by: Oliver Wolff <[email protected]>
- Loading branch information
1 parent
13a8414
commit c3455de
Showing
1 changed file
with
66 additions
and
31 deletions.
There are no files selected for viewing
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