In `X11DRV_SystrayDockInsert`, after `get_systray_selection_owner`? (no idea if that works)
Do you mean a change like this? It doesn't work. ```diff --- wine-9.2/dlls/winex11.drv/window.c.orig 2024-02-14 15:03:26.316078760 +0800 +++ wine-9.2/dlls/winex11.drv/window.c 2024-02-14 15:03:45.242545962 +0800 @@ -2328,6 +2328,9 @@
if (!(systray_window = get_systray_selection_owner( display ))) return FALSE;
+ /* make sure the window is layered with a surface before embedding them */ + NtUserUpdateLayeredWindow( hwnd, NULL, NULL, NULL, NULL, NULL, 0, NULL, 0, NULL ); + get_systray_visual_info( display, systray_window, &visual );
if (!(data = get_win_data( hwnd ))) return FALSE; ```
On the other hand, changes in https://gitlab.winehq.org/wine/wine/-/merge_requests/5076/diffs restores missing systray icons with wine 9.2. I tested LINE of LY Corporation on LXQt.