Commit e9603dce authored by Erik Reider's avatar Erik Reider

Moved cc subscription signal call into notidaemon

parent 8319917b
......@@ -313,13 +313,6 @@ namespace SwayNotificationCenter {
break;
}
}
try {
swaync_daemon.subscribe (notification_count (),
swaync_daemon.get_dnd (),
get_visibility ());
} catch (Error e) {
stderr.printf (e.message + "\n");
}
}
public void add_notification (NotifyParams param,
......
......@@ -61,6 +61,10 @@ namespace SwayNotificationCenter {
if (!timeout) {
control_center.close_notification (id);
NotificationClosed (id, ClosedReasons.DISMISSED);
swaync_daemon.subscribe (control_center.notification_count (),
dnd,
control_center.get_visibility ());
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment