16 Jun
2025
16 Jun
'25
12:53 p.m.
On Mon Jun 16 09:47:59 2025 +0000, Zhiyi Zhang wrote:
Calling `SetFocus(hwnd)` after the window is destroyed is probably wrong. It seems better to just return without doing anything when the window is destroyed. I did that to reduce the number of lines. SetFocus can be passed a NULL or invalid handle, but I can change it as it may look wonky.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/8258#note_106711