[PATCH 0/1] MR9818: win32u: Add more set_(active|foreground)_window traces.
From: Rémi Bernon <rbernon@codeweavers.com> --- dlls/win32u/input.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dlls/win32u/input.c b/dlls/win32u/input.c index 6c7828bc41b..c86a357ab14 100644 --- a/dlls/win32u/input.c +++ b/dlls/win32u/input.c @@ -1995,6 +1995,9 @@ BOOL set_active_window( HWND hwnd, HWND *prev, BOOL mouse, BOOL focus, DWORD new DWORD old_thread, new_thread; CBTACTIVATESTRUCT cbt; + TRACE( "hwnd %p, previous %p, mouse %u, focus %u, new_active_thread_id %04x\n", + hwnd, previous, mouse, focus, new_active_thread_id ); + if (previous == hwnd) { if (prev) *prev = hwnd; @@ -2221,6 +2224,8 @@ BOOL set_foreground_window( HWND hwnd, BOOL mouse, BOOL internal ) } SERVER_END_REQ; + TRACE( "hwnd %p, mouse %u, internal %u -> ret %u, previous %p\n", hwnd, mouse, internal, ret, previous ); + if (ret && previous != hwnd) { if (send_msg_old) /* old window belongs to other thread */ -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/9818
participants (2)
-
Rémi Bernon -
Rémi Bernon (@rbernon)