I'd like to have an icon in the Window bar

Mac OS doesn’t know about this, not sure how it is on MS-Windows, but on Linux, windows usually have their applications icon in the window bar.
VSTs just have a placeholder X. Can I get my icon in there somehow or at least have a VST3 icon there?

image

(the rightmost is a VST3 window, using an X)

Turns out this is a bitwig issue.
The Bitwig main window is somehow custom and doesn’t know about decorations.
In Ardour, the VST plugin windows inherit the DAWs icon there, and I guess that’s how it should be.
image