From 268a36e872d7e95c0ea2265006042f817e86a27a Mon Sep 17 00:00:00 2001 From: Dmitry Timoshkov Date: Sun, 23 Apr 2000 19:57:21 +0000 Subject: [PATCH] Removed the longstanding hack in response to WM_ACTIVATE message. --- windows/defwnd.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/windows/defwnd.c b/windows/defwnd.c index e07f0a19bd2..aaca8fdd4d4 100644 --- a/windows/defwnd.c +++ b/windows/defwnd.c @@ -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); } -- 2.11.4.GIT