1
0
Fork 0
mirror of https://github.com/Zedfrigg/ironbar.git synced 2025-04-19 19:34:24 +02:00

fix(launcher): ghost windows in reload

Fixes #585
This commit is contained in:
Jake Stanger 2024-05-15 19:54:55 +01:00
parent 407d58606d
commit 4a37429634
No known key found for this signature in database
GPG key ID: C51FC8F9CB0BEA61

View file

@ -77,7 +77,6 @@ impl ToplevelHandleHandler for Environment {
match handle.info() { match handle.info() {
Some(info) => { Some(info) => {
trace!("Updating handle: {info:?}"); trace!("Updating handle: {info:?}");
self.handles.push(handle.clone());
if let Some(info) = handle.info() { if let Some(info) = handle.info() {
try_send!(self.event_tx, Event::Toplevel(ToplevelEvent::Update(info))); try_send!(self.event_tx, Event::Toplevel(ToplevelEvent::Update(info)));
} }