Edi wrote:
> I try to set my own application window icon under linux with fltk2-r6525.
...
> Has anyone a idea what I made wrong?

There is a difference between fltk v1 and v2 in icon handling

>From ../fltk2/src/x11/run.cxx:

      // FLTK2 uses the freedesktop.org new-style icons. This is an
      // array of 32-bit unsigned values: w,h,(w*h)*argb, repeated


you might have to convert your icon into the correct format,
or even better, provide a function that accepts any icon format
and that sets the old pixmap and the new WM_ICON hint.

hth
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to