Commit Graph
7 Commits
Author SHA1 Message Date
Mark Murawski 1b8f80d892 Fix 25s startup hang with notification daemons that ignore GetAll
notification_backend_init() created its org.freedesktop.Notifications
proxy synchronously with G_DBUS_PROXY_FLAGS_NONE, which makes GDBus call
Properties.GetAll and wait for the reply. Some notification daemons
(e.g. awesome's naughty) never answer that call, so the UI thread
blocked until the 25 second D-Bus default timeout expired, leaving the
main window mapped but unpainted.

The proxy is only used for GetCapabilities and Notify, so create it with
DO_NOT_LOAD_PROPERTIES and DO_NOT_CONNECT_SIGNALS.
2026-11-28 00:31:22 -05:00
deepend 8e8f534c21 fix notification icon + fix flatpak screenshot 2026-04-12 20:46:47 -06:00
deepend 4683ef705b new name after fork 2026-01-05 23:12:38 -07:00
Patrick d936b653ac Add missing header
https://github.com/hexchat/hexchat/issues/2652#issuecomment-1007015314
2022-01-06 20:36:14 -06:00
Patrick Griffis 2985dde7f0 Explicitly set app icon in notifications 2021-10-01 11:56:49 -05:00
Patrick Griffis 91439f04c0 Fix whitespace issues 2021-07-13 12:30:47 -05:00
Patrick Griffis c144d0468b Remove libnotify dependency
Instead just talk directly to the service. This fixes *sending*
a notification being blocking IO.
2021-07-13 12:26:34 -05:00