Rémi Bernon (@rbernon) commented about programs/explorer/systray.c:
if (icon->display != ICON_DISPLAY_HIDDEN) return TRUE; /* already displayed */
- if (!enable_taskbar && NtUserMessageCall( icon->window, WINE_SYSTRAY_DOCK_INSERT, icon_cx, icon_cy, + if (!enable_taskbar) + { + DWORD old_exstyle = GetWindowLongW( icon->window, GWL_EXSTYLE ); + + /* make sure it is layered before calling into the driver */ + SetWindowLongW( icon->window, GWL_EXSTYLE, old_exstyle | WS_EX_LAYERED );
You need to paint it once to make sure it's fully layered, otherwise it's still broken on LXDE. ```suggestion:-0+0 SetWindowLongW( icon->window, GWL_EXSTYLE, old_exstyle | WS_EX_LAYERED ); paint_layered_icon( icon ); ``` -- https://gitlab.winehq.org/wine/wine/-/merge_requests/5076#note_61194