Windows: Fix inability to have two topmost windows
Task-number: QTBUG-63621 Change-Id: I4ee6885d19907bff553149bef9efcffb209eb1f5 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
This commit is contained in:
parent
7e4571b7e7
commit
c5b7a3c922
@ -695,7 +695,7 @@ void WindowCreationData::initialize(const QWindow *w, HWND hwnd, bool frameChang
|
||||
{
|
||||
if (!hwnd)
|
||||
return;
|
||||
UINT swpFlags = SWP_NOMOVE | SWP_NOSIZE;
|
||||
UINT swpFlags = SWP_NOMOVE | SWP_NOSIZE | SWP_NOOWNERZORDER;
|
||||
if (frameChange)
|
||||
swpFlags |= SWP_FRAMECHANGED;
|
||||
if (topLevel) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user