Commit b03cb23d authored by Erik Reider's avatar Erik Reider

When dismissing groups, make sure to dismiss its potential floating counterpart

parent 63e9d221
...@@ -62,6 +62,7 @@ namespace SwayNotificationCenter { ...@@ -62,6 +62,7 @@ namespace SwayNotificationCenter {
foreach (unowned uint32 id in ids) { foreach (unowned uint32 id in ids) {
NotificationClosed (id, reason); NotificationClosed (id, reason);
notification_ids.remove (id); notification_ids.remove (id);
floating_notifications.remove_notification (id);
} }
notifications_widget.remove_group (group_name_id); notifications_widget.remove_group (group_name_id);
......
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