mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-28 11:11:47 +02:00
...
This commit is contained in:
2
glfw/linux_notify.c
vendored
2
glfw/linux_notify.c
vendored
@@ -47,7 +47,7 @@ message_handler(DBusConnection *conn, DBusMessage *msg, void *user_data) {
|
|||||||
if (dbus_message_is_signal(msg, NOTIFICATIONS_IFACE, "ActionInvoked")) {
|
if (dbus_message_is_signal(msg, NOTIFICATIONS_IFACE, "ActionInvoked")) {
|
||||||
uint32_t notification_id;
|
uint32_t notification_id;
|
||||||
const char *action;
|
const char *action;
|
||||||
if (!glfw_dbus_get_args(msg, "Failed to get args from ActionInvoked notification signal",
|
if (glfw_dbus_get_args(msg, "Failed to get args from ActionInvoked notification signal",
|
||||||
DBUS_TYPE_UINT32, ¬ification_id, DBUS_TYPE_STRING, &action, DBUS_TYPE_INVALID)) {
|
DBUS_TYPE_UINT32, ¬ification_id, DBUS_TYPE_STRING, &action, DBUS_TYPE_INVALID)) {
|
||||||
if (activated_handler) {
|
if (activated_handler) {
|
||||||
activated_handler(notification_id, action);
|
activated_handler(notification_id, action);
|
||||||
|
|||||||
Reference in New Issue
Block a user