mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-05 09:05:14 +00:00
Never use custom notifications on Wayland since there are no positioning API
This commit is contained in:
@@ -634,6 +634,11 @@ void SetupNotificationsContent(
|
||||
} else if (Platform::IsWindows()) {
|
||||
return tr::lng_settings_use_windows(tr::now);
|
||||
} else if (Platform::IsLinux()) {
|
||||
#ifdef Q_OS_UNIX
|
||||
if (Platform::IsWayland()) {
|
||||
return QString();
|
||||
}
|
||||
#endif // Q_OS_UNIX
|
||||
return tr::lng_settings_use_native_notifications(tr::now);
|
||||
}
|
||||
return QString();
|
||||
|
Reference in New Issue
Block a user