mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-08 22:28:24 +02:00
Pass the first notification type as category to the dbus server
This commit is contained in:
1
glfw/linux_notify.c
vendored
1
glfw/linux_notify.c
vendored
@@ -177,6 +177,7 @@ glfw_dbus_send_user_notification(const GLFWDBUSNotificationData *n, GLFWDBusnoti
|
||||
check_call(dbus_message_iter_close_container, &array, &dict); \
|
||||
}
|
||||
append_sv_dictionary_entry("urgency", DBUS_TYPE_BYTE, n->urgency);
|
||||
if (n->category && n->category[0]) append_sv_dictionary_entry("category", DBUS_TYPE_STRING, n->category);
|
||||
|
||||
check_call(dbus_message_iter_close_container, &args, &array);
|
||||
APPEND(args, DBUS_TYPE_INT32, n->timeout)
|
||||
|
||||
Reference in New Issue
Block a user