Resetting X focus should not be done with SetFocus32. Called

the windowing (X11) driver's SetFocus routine directly instead.
This apparently fixes a big heap of user interface problems.
This commit is contained in:
Ove Kaaven 1999-02-15 12:46:32 +00:00 committed by Alexandre Julliard
parent c521db616a
commit 6ec132b61a
1 changed files with 3 additions and 2 deletions

View File

@ -2499,8 +2499,9 @@ BOOL32 WINAPI SetWindowPos32( HWND32 hwnd, HWND32 hwndInsertAfter,
focus = curr = GetFocus32();
while (curr) {
if (curr == hwnd) {
SetFocus32( 0 );
SetFocus32( focus );
WND *pFocus = WIN_FindWndPtr( focus );
if (pFocus)
pFocus->pDriver->pSetFocus(pFocus);
break;
}
curr = GetParent32(curr);