Don't wake up after doing an action
This commit is contained in:
parent
936dbb039c
commit
ee11dfa8fe
@ -73,7 +73,6 @@ static const char *introspection_xml =
|
|||||||
" <interface name=\""DUNST_IFAC"\">"
|
" <interface name=\""DUNST_IFAC"\">"
|
||||||
|
|
||||||
" <method name=\"ContextMenuCall\" />"
|
" <method name=\"ContextMenuCall\" />"
|
||||||
// TODO: add an optional parmater definining the action of notification number X to invoke
|
|
||||||
" <method name=\"NotificationAction\">"
|
" <method name=\"NotificationAction\">"
|
||||||
" <arg name=\"number\" type=\"i\"/>"
|
" <arg name=\"number\" type=\"i\"/>"
|
||||||
" </method>"
|
" </method>"
|
||||||
@ -226,8 +225,6 @@ static void dbus_cb_dunst_NotificationAction(GDBusConnection *connection,
|
|||||||
struct notification *n = list->data;
|
struct notification *n = list->data;
|
||||||
LOG_D("CMD: Calling action for notification %s", n->summary);
|
LOG_D("CMD: Calling action for notification %s", n->summary);
|
||||||
notification_do_action(n);
|
notification_do_action(n);
|
||||||
// TODO: do we need to wake up after notification action?
|
|
||||||
wake_up();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
g_dbus_method_invocation_return_value(invocation, NULL);
|
g_dbus_method_invocation_return_value(invocation, NULL);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user