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

@ -1 +1 @@
Subproject commit f492c2f43d13d71ceb797828829323b02d9db8c1
Subproject commit bcb2d61c6ce8525731d1aa9abc35dce5457c4aa2