Add StartupWMClass property to desktop file (#2587)

This adds the StartupWMClass property to the desktop file, which window managers can use to determine when chatterino has opened and which window belongs to it.

GNOME uses this property, so this will fix #1863. You can test this by applying this patch to the desktop file of an existing install.

Relevant FreeDesktop docs: specifications.freedesktop.org/desktop-entry-spec/latest/ar01s06.html#key-startupwmclass

Fixes #1863
This commit is contained in:
Sam Heybey
2021-04-03 10:10:42 -04:00
committed by GitHub
parent e00938dfde
commit 716b846f4e
2 changed files with 2 additions and 0 deletions
@@ -7,3 +7,4 @@ Exec=chatterino
Icon=chatterino
Terminal=false
Categories=Network;InstantMessaging;
StartupWMClass=chatterino