How can I set the icon of my GLFW app in the task bar in my Ubuntu Linux 20.10 (Gnome 3.38.3)?
I have tried to create a so called Desktop entry in
~/.local/share/applications and that works for a simple gtkmm app but not for my GLFW app.
I have also tried to use
glfwSetWindowIcon() but that has no effect.
The icon in the task bar is always empty. Here is what my task bar looks like with one gtkmm app with an icon from the corresponding desktop entry and below it the empty icon of my GLFW app which also has a similar desktop entry.
OS Name: Ubuntu Linux 20.10
OS Type: 64 bit
GNOME Version 3.38.3
Windowing system: X11
GLFW Version: 3.3
Thank you for your help