Fixes floating notifications not hiding when opening panel

This commit is contained in:
Erik Reider
2022-02-21 00:28:42 +01:00
parent 54e2fbacf8
commit 0ed0361291

View File

@@ -82,6 +82,7 @@ namespace SwayNotificationCenter {
/** Sets the visibility of the controlcenter */
public void set_visibility (bool visibility) throws DBusError, IOError {
controlCenter.set_visibility (visibility);
if (visibility) notiDaemon.set_noti_window_visibility (false);
}
/** Toggles the current Do Not Disturb state */