diff --git a/dlls/x11drv/winpos.c b/dlls/x11drv/winpos.c index c0a95dae177..91e04b9fb58 100644 --- a/dlls/x11drv/winpos.c +++ b/dlls/x11drv/winpos.c @@ -711,7 +711,7 @@ static BOOL fixup_flags( WINDOWPOS *winpos ) if ((wndPtr->rectWindow.left == winpos->x) && (wndPtr->rectWindow.top == winpos->y)) winpos->flags |= SWP_NOMOVE; /* Already the right position */ - else if ((wndPtr->dwStyle & (WS_POPUP | WS_CHILD)) != WS_CHILD) + if ((wndPtr->dwStyle & (WS_POPUP | WS_CHILD)) != WS_CHILD) { if (!(winpos->flags & SWP_NOACTIVATE)) /* Bring to the top when activating */ {