Re: [PATCH] user32: Always send WM_NCACTIVATE when changing the foreground window.
9 Mar
2017
9 Mar
'17
6:49 p.m.
Alex Henrie <alexhenrie24(a)gmail.com> writes:
+ if (send_msg_old) /* old window belongs to other thread */ + SendNotifyMessageW( previous, WM_WINE_SETACTIVEWINDOW, 0, 0 ); + else if (send_msg_new) /* old window belongs to us but new one to other thread */ + ret = set_active_window( 0, NULL, mouse, TRUE ); + + if (GetActiveWindow() == hwnd) {
The active window is per-thread but SetForegroundWindow works across threads, so this can't do the right thing. -- Alexandre Julliard julliard(a)winehq.org
3203
Age (days ago)
3203
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard