mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
A better way of PiP aspect ratio handling on Wayland
This commit is contained in:
@@ -491,7 +491,6 @@ void start() {
|
||||
LOG(("Launcher filename: %1").arg(QGuiApplication::desktopFileName()));
|
||||
|
||||
#ifndef DESKTOP_APP_DISABLE_WAYLAND_INTEGRATION
|
||||
qputenv("QT_WAYLAND_CLIENT_BUFFER_INTEGRATION", "desktop-app-wayland-egl");
|
||||
qputenv("QT_WAYLAND_SHELL_INTEGRATION", "desktop-app-xdg-shell;xdg-shell");
|
||||
#endif // !DESKTOP_APP_DISABLE_WAYLAND_INTEGRATION
|
||||
|
||||
@@ -631,7 +630,6 @@ void start() {
|
||||
|
||||
#ifndef DESKTOP_APP_DISABLE_WAYLAND_INTEGRATION
|
||||
InvokeQueued(qApp, [] {
|
||||
qunsetenv("QT_WAYLAND_CLIENT_BUFFER_INTEGRATION");
|
||||
qunsetenv("QT_WAYLAND_SHELL_INTEGRATION");
|
||||
});
|
||||
#endif // !DESKTOP_APP_DISABLE_WAYLAND_INTEGRATION
|
||||
|
Reference in New Issue
Block a user