Skip to content

Commit 3f85c45

Browse files
authored
Fixed swaync-client --close-all not closing the actual noti layer window (#516)
1 parent 35d3a14 commit 3f85c45

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/notificationWindow/notificationWindow.vala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,6 @@ namespace SwayNotificationCenter {
151151
public void change_visibility (bool value) {
152152
if (!value) {
153153
close_all_notifications ();
154-
close ();
155154
} else {
156155
this.set_anchor ();
157156
}
@@ -169,6 +168,8 @@ namespace SwayNotificationCenter {
169168
remove_notification (notification, false);
170169
}
171170
}
171+
172+
close ();
172173
}
173174

174175
private void remove_notification (Notification ? noti, bool dismiss) {

0 commit comments

Comments
 (0)