Commit 70eaa5b2 authored by Erik Reider's avatar Erik Reider

Fixed NotificationWindow sometimes not closing, blocking input

parent b7631c7d
...@@ -151,6 +151,7 @@ namespace SwayNotificationCenter { ...@@ -151,6 +151,7 @@ namespace SwayNotificationCenter {
public void change_visibility (bool value) { public void change_visibility (bool value) {
if (!value) { if (!value) {
close_all_notifications (); close_all_notifications ();
close ();
} else { } else {
this.set_anchor (); this.set_anchor ();
} }
......
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