From 2da39e2fbb89cb0d32013cde1dc8509cdb663a96 Mon Sep 17 00:00:00 2001 From: Nicolas Fella <6377822+nicolasfella@users.noreply.github.com> Date: Mon, 10 Jan 2022 06:31:53 +0100 Subject: [PATCH] Mark as single window app in .desktop file qBittorrent is a single-window application. By marking it as such desktop environments know to not offer to open a new window for it. This is a new standard key intruduced in https://gitlab.freedesktop.org/xdg/xdg-specs/-/commit/3ea3bc26e24f252eb96f4bfdd525cf4f314330c4 PR #15996. --- dist/unix/org.qbittorrent.qBittorrent.desktop | 1 + 1 file changed, 1 insertion(+) diff --git a/dist/unix/org.qbittorrent.qBittorrent.desktop b/dist/unix/org.qbittorrent.qBittorrent.desktop index aafb7d552..737374d2c 100644 --- a/dist/unix/org.qbittorrent.qBittorrent.desktop +++ b/dist/unix/org.qbittorrent.qBittorrent.desktop @@ -11,6 +11,7 @@ Type=Application StartupNotify=false StartupWMClass=qbittorrent Keywords=bittorrent;torrent;magnet;download;p2p; +SingleMainWindow=true # Translations