is it possible to set WM_CLASS
Xlunch is used in the Pi-Apps project to display a list of apps that could be installed. We use Xlunch in windowed mode, like any other normal program.
On Xorg, everything works perfectly, including transparency and the running app icon. But Wayland does not allow programs to set their icons the same way Xorg does. The Wayland compositor most of us use is Wayfire, which picks its best guess of an appropriate icon based on the WM_CLASS.
In our other GTK windows, we always add a --class=Pi-Apps flag to ensure the icon is set correctly on Wayland. But Xlunch currently has no such option to my knowledge. Would you consider adding it?
There is --name which sets part of WM_CLASS. But I agree that --class should probably also be implemented
But I agree that
--classshould probably also be implemented
Awesome, keep us updated. 👍