Rémi Bernon (@rbernon) commented about dlls/winewayland.drv/window.c:
return ret; }
+/********************************************************************** + * WAYLAND_FlashWindowEx + */ +void WAYLAND_FlashWindowEx(FLASHWINFO *info) +{ + struct wayland_win_data *data; + + TRACE("hwnd %p flags %u\n", info->hwnd, info->dwFlags); + + if ((data = wayland_win_data_get(info->hwnd))) + { + if (data->wayland_surface && info->dwFlags) + wayland_surface_activate(data->wayland_surface);
The ActivateWindow callback seems like a better place, it is the callback that is supposed to request window activation. Fwiw I don't even know what FlashWindow is about exactly, from its name and from winex11 implementation, I can only guess that it's only a visual notification and isn't supposed to activate the window. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/11103#note_142595