From 48d792bc190a9455be24673095281eca833ca2b9 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 3 Feb 2019 15:58:29 +0530 Subject: [PATCH] ... --- glfw/linux_notify.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/glfw/linux_notify.c b/glfw/linux_notify.c index ff2484420..1ecbf719f 100644 --- a/glfw/linux_notify.c +++ b/glfw/linux_notify.c @@ -69,9 +69,10 @@ glfw_dbus_send_user_notification(const char *app_name, const char* icon, const c static DBusConnection *added_signal_match = NULL; if (!session_bus) return 0; if (added_signal_match != session_bus) { - dbus_bus_add_match(session_bus, "type='signal',interface='org.freedesktop.Notifications.ActionInvoked'", NULL); + dbus_bus_add_match(session_bus, "type='signal',interface='org.freedesktop.Notifications'", NULL); static DBusObjectPathVTable vtable = {.message_function = message_handler}; dbus_connection_try_register_object_path(session_bus, NOTIFICATIONS_PATH, &vtable, NULL, NULL); + added_signal_match = session_bus; } NotificationCreatedData *data = malloc(sizeof(NotificationCreatedData)); data->next_id = ++notification_id;