From 0a99487091e7595a27a385c27e3e592c1318416c Mon Sep 17 00:00:00 2001 From: TheEvilSkeleton Date: Sun, 9 Jan 2022 18:35:20 -0500 Subject: [PATCH] Re-add X-GNOME-SingleWindow `X-GNOME-SingleWindow` is best to be used for backward compatibility. Since `SingleMainWindow` was recently added, many Desktop Environments and Window Managers may not have it implemented yet. This MR also moves `SingleMainWindow` before the `X-GNOME-*` keys, as requested in this comment: https://github.com/telegramdesktop/tdesktop/pull/23875#issuecomment-1008453759 --- lib/xdg/telegramdesktop.desktop | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/xdg/telegramdesktop.desktop b/lib/xdg/telegramdesktop.desktop index 062cd54de..a95949873 100644 --- a/lib/xdg/telegramdesktop.desktop +++ b/lib/xdg/telegramdesktop.desktop @@ -12,8 +12,9 @@ Categories=Chat;Network;InstantMessaging;Qt; MimeType=x-scheme-handler/tg; Keywords=tg;chat;im;messaging;messenger;sms;tdesktop; Actions=Quit; -X-GNOME-UsesNotifications=true SingleMainWindow=true +X-GNOME-UsesNotifications=true +X-GNOME-SingleWindow=true [Desktop Action Quit] Exec=telegram-desktop -quit