diff --git a/Telegram/SourceFiles/platform/linux/specific_linux.cpp b/Telegram/SourceFiles/platform/linux/specific_linux.cpp index edf8a4bc1d..aa255b0a01 100644 --- a/Telegram/SourceFiles/platform/linux/specific_linux.cpp +++ b/Telegram/SourceFiles/platform/linux/specific_linux.cpp @@ -744,6 +744,10 @@ namespace Platform { void start() { LOG(("Launcher filename: %1").arg(QGuiApplication::desktopFileName())); +#ifndef DESKTOP_APP_DISABLE_WAYLAND_INTEGRATION + qputenv("QT_WAYLAND_SHELL_INTEGRATION", "desktop-app-xdg-shell"); +#endif // !DESKTOP_APP_DISABLE_WAYLAND_INTEGRATION + qputenv("PULSE_PROP_application.name", AppName.utf8()); qputenv("PULSE_PROP_application.icon_name", GetIconName().toLatin1()); diff --git a/Telegram/lib_waylandshells b/Telegram/lib_waylandshells index f492c2f43d..bcb2d61c6c 160000 --- a/Telegram/lib_waylandshells +++ b/Telegram/lib_waylandshells @@ -1 +1 @@ -Subproject commit f492c2f43d13d71ceb797828829323b02d9db8c1 +Subproject commit bcb2d61c6ce8525731d1aa9abc35dce5457c4aa2