user32: Don't send focus change messages if foreground window didn't change.
This commit is contained in:
parent
45c27e12d4
commit
6eabce171e
|
@ -193,7 +193,7 @@ static BOOL set_foreground_window( HWND hwnd, BOOL mouse )
|
|||
}
|
||||
SERVER_END_REQ;
|
||||
|
||||
if (ret)
|
||||
if (ret && previous != hwnd)
|
||||
{
|
||||
if (send_msg_old) /* old window belongs to other thread */
|
||||
SendNotifyMessageW( previous, WM_WINE_SETACTIVEWINDOW, 0, 0 );
|
||||
|
|
Loading…
Reference in New Issue