mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-04-07 18:15:05 +00:00
If the notification daemon is an activatable GApplication service (e.g. on Mate), then the notification daemon may terminate a short time after the notification has vanished (usually 15s). In that case the notification daemon may reuse notification IDs, which is incompatible with our notification clearing. Also the service may not be running at all, when we call the CloseNotification endpoint. To fix this, we simply disable the entire notification history clearing functionality on such desktops by proactively clearing all notification references from our internal notification manager. Signed-off-by: Magnus Groß <magnus.gross@rwth-aachen.de> |
||
---|---|---|
.. | ||
file_utilities_linux.cpp | ||
file_utilities_linux.h | ||
integration_linux.cpp | ||
integration_linux.h | ||
launcher_linux.cpp | ||
launcher_linux.h | ||
linux_desktop_environment.cpp | ||
linux_desktop_environment.h | ||
linux_wayland_integration_dummy.cpp | ||
linux_wayland_integration.cpp | ||
linux_wayland_integration.h | ||
linux_xdp_file_dialog.cpp | ||
linux_xdp_file_dialog.h | ||
linux_xdp_open_with_dialog.cpp | ||
linux_xdp_open_with_dialog.h | ||
main_window_linux.cpp | ||
main_window_linux.h | ||
notifications_manager_linux_dummy.cpp | ||
notifications_manager_linux.cpp | ||
notifications_manager_linux.h | ||
specific_linux.cpp | ||
specific_linux.h |