Hello, if I make a simple gtkmm app it will start with a blank/tranparent icon in the Taskbar. But I can set the Taskbar icon by creating a Desktop entry (/home/erik/.local/share/applications/test.desktop). However, if I make a simple GLFW app and a similar Desktop entry, the icon remains blank/transparent.
How can I set the Taskbar icon for a GLFW app?
Here is a screenshot of the Taskbar with a proper icon for my gtkmm app and the blank/transparent icon for my GLFW app.
OS Name: Ubuntu Linux 20.10
OS Type: 64 bit
GNOME Version 3.38.3
Windowing system: X11
GLFW Version: 3.3
PS. I have also tried to use glfwSetWindowIcon()
which internally calls XChangeProperty(_glfw.x11.display, window->x11.handle, _glfw.x11.NET_WM_ICON, XA_CARDINAL, 32, PropModeReplace, (unsigned char*) icon, longCount);
but that has no effect.