2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-02 07:25:46 +00:00

Don't use custom notificaions on Wayland even with TDESKTOP_DISABLE_DBUS_INTEGRATION

This commit is contained in:
Ilya Fedin
2020-06-22 05:28:23 +04:00
committed by John Preston
parent a33c9479a5
commit a726c6411b
3 changed files with 56 additions and 38 deletions

View File

@@ -656,9 +656,7 @@ void SetupNotificationsContent(
}();
const auto advancedSlide = !Platform::IsMac10_8OrGreater()
#ifndef TDESKTOP_DISABLE_DBUS_INTEGRATION
&& !Platform::IsWayland()
#endif // !TDESKTOP_DISABLE_DBUS_INTEGRATION
? container->add(
object_ptr<Ui::SlideWrap<Ui::VerticalLayout>>(
container,