El 21/5/24 a las 16:31, Manolo escribió:
> RTFM:
>
https://fltk.gitlab.io/fltk/osissues.html#osissues_wayland_window_icon
Actually, it is better to read the code in the call libdecor.
One note to make in the manual is that "Name=xxx" is the actual
"xxx.desktop" file that is searched for.
Under X11, Name="xxx" can be an arbitrary string to display on the
desktop. That's why I was not getting any icons. My name was something
like "mrv2-64 v1.1.7" and of course I had no desktop file with ugly
spaces in the name. Only mrv2-v1.1.7.desktop.
In any case, that would *still not work* as the code in Fl_Wayland_*.cxx
would look up the program name as the actual executable, which would be
"mrv2". So the actual desktop file would had to be "mrv2.desktop", with
Name= *also* set to "mrv2".