17 Nov
2025
17 Nov
'25
1:39 p.m.
On Mon Nov 17 09:31:30 2025 +0000, Rémi Bernon wrote:
Should we then maybe reduce the flag scope to this? ```suggestion:-8+0 if (is_window( previous )) { win_set_flags(previous, WIN_IS_DEACTIVATING, 0); send_message( previous, WM_NCACTIVATE, FALSE, (LPARAM)hwnd ); send_message( previous, WM_ACTIVATE, MAKEWPARAM( WA_INACTIVE, is_iconic(previous) ), (LPARAM)hwnd ); win_set_flags(previous, 0, WIN_IS_DEACTIVATING); } ``` What about the `WM_ACTIVATEAPP` message? It shouldn't be able to reactivate it either.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/9398#note_122542