diff --git a/aur/wired/PKGBUILD b/aur/wired/PKGBUILD index 7aef4f4..7c3a44b 100644 --- a/aur/wired/PKGBUILD +++ b/aur/wired/PKGBUILD @@ -2,7 +2,7 @@ pkgname=wired _pkgname=wired-notify -pkgver=0.9.3 +pkgver=0.9.4 pkgrel=1 pkgdesc="Lightweight notification daemon with highly customizable layout blocks, written in Rust." arch=('x86_64' 'i686') diff --git a/src/manager.rs b/src/manager.rs index f7ea95d..575d905 100644 --- a/src/manager.rs +++ b/src/manager.rs @@ -87,12 +87,12 @@ impl NotifyWindowManager { let mut maybe_window = None; for m in self.monitor_windows.values_mut() { for w in m { - if w.notification.id == notification.id || - (w.notification.app_name == notification.app_name && - w.notification.tag.is_some() && - w.notification.tag == notification.tag) { + if (w.notification.id == notification.id && Config::get().replacing_enabled) || + (w.notification.app_name == notification.app_name && + w.notification.tag.is_some() && + w.notification.tag == notification.tag) { - maybe_window = Some(w); + maybe_window = Some(w) } } }