From f7b93a501295d5d4e39d3f2647f6fa4e864ab91e Mon Sep 17 00:00:00 2001 From: Xidorn Quan Date: Tue, 28 May 2024 23:06:08 +1000 Subject: [PATCH] Add StartupWMClass for anki.desktop This ensures that the system can correctly assign the windows of Anki to the desktop launcher item, e.g. in Ubuntu's dock. Update CONTRIBUTORS --- CONTRIBUTORS | 2 +- qt/bundle/lin/anki.desktop | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 42648af03..d3298b676 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -174,7 +174,7 @@ Escape0707 Loudwig Wu Yi-Wei RRomeroJr <117.rromero@gmail.com> - +Xidorn Quan ******************** diff --git a/qt/bundle/lin/anki.desktop b/qt/bundle/lin/anki.desktop index 252f7985b..0b8caaa78 100644 --- a/qt/bundle/lin/anki.desktop +++ b/qt/bundle/lin/anki.desktop @@ -13,3 +13,4 @@ MimeType=application/x-apkg;application/x-anki;application/x-ankiaddon; #should be removed eventually as it was upstreamed as to be an XDG specification called SingleMainWindow X-GNOME-SingleWindow=true SingleMainWindow=true +StartupWMClass=anki