Setting StaysOnBottom creates a special case where the first window is always kept at the bottom of the window stack. However this becomes confusing if the first window is not maximized or fullscreen, since it's then not possible to bring it to front by clicking the title bar. Add a check on the window state, and set WindowStaysOnBottomHint for maximized or fullscreen windows only. Change-Id: I0f43874cfcdc7c951c47cd278f5acdd42368cd5a Reviewed-by: Lorn Potter <lorn.potter@gmail.com> (cherry picked from commit 1d612c5100a02d3d4f9b1caba3489e76ef6a81fe) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Description
Languages
C++
84.3%
HTML
4.9%
C
3.9%
CMake
3.6%
Objective-C++
2%
Other
0.8%