Removed the longstanding hack in response to WM_ACTIVATE message.

This commit is contained in:
Dmitry Timoshkov 2000-04-23 19:57:21 +00:00 committed by Alexandre Julliard
parent fcf9f24451
commit 268a36e872
1 changed files with 0 additions and 4 deletions

View File

@ -294,10 +294,6 @@ static LRESULT DEFWND_DefWinProc( WND *wndPtr, UINT msg, WPARAM wParam,
/* The default action in Windows is to set the keyboard focus to
* the window, if it's being activated and not minimized */
if (LOWORD(wParam) != WA_INACTIVE) {
/* I don't know who put this SetWindowPos here, it does not
* seem very logical to have it here... (FIXME?) */
SetWindowPos(wndPtr->hwndSelf, HWND_TOP, 0, 0, 0, 0,
SWP_NOMOVE | SWP_NOSIZE);
if (!(wndPtr->dwStyle & WS_MINIMIZE))
SetFocus(wndPtr->hwndSelf);
}