2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-02 15:45:12 +00:00

Set QT_WAYLAND_SHELL_INTEGRATION to custom value

This commit is contained in:
Ilya Fedin
2021-06-19 02:12:34 +04:00
committed by John Preston
parent e1120d1cb5
commit a26d769304
2 changed files with 5 additions and 1 deletions

View File

@@ -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());