kotatogram-desktop/Telegram/SourceFiles/platform/linux
Ilya Fedin b39e4a3138 Do not call CloseNotification for activatable services
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>
2022-03-05 16:51:02 +04:00
..
file_utilities_linux.cpp
file_utilities_linux.h
integration_linux.cpp
integration_linux.h
launcher_linux.cpp
launcher_linux.h
linux_desktop_environment.cpp Fix desktop environment list deduplication 2022-02-02 09:23:14 +03:00
linux_desktop_environment.h
linux_wayland_integration.cpp Move xdg-foreign support to lib_base 2022-02-04 16:31:40 +03:00
linux_wayland_integration.h Move xdg-foreign support to lib_base 2022-02-04 16:31:40 +03:00
linux_wayland_integration_dummy.cpp Move xdg-foreign support to lib_base 2022-02-04 16:31:40 +03:00
linux_xdp_file_dialog.cpp Move xdg-foreign support to lib_base 2022-02-04 16:31:40 +03:00
linux_xdp_file_dialog.h
linux_xdp_open_with_dialog.cpp Move xdg-foreign support to lib_base 2022-02-04 16:31:40 +03:00
linux_xdp_open_with_dialog.h
main_window_linux.cpp Get rid of unneeded MainWindow::Private class on Linux 2022-03-05 16:47:38 +04:00
main_window_linux.h Get rid of unneeded MainWindow::Private class on Linux 2022-03-05 16:47:38 +04:00
notifications_manager_linux.cpp Do not call CloseNotification for activatable services 2022-03-05 16:51:02 +04:00
notifications_manager_linux.h
notifications_manager_linux_dummy.cpp
specific_linux.cpp Move xdg-foreign support to lib_base 2022-02-04 16:31:40 +03:00
specific_linux.h