aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index 02df6fd..4a0c545 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -7,7 +7,7 @@ pub mod dotwm;
pub mod event;
use dotwm::DotWM;
-use command::exec_cmd;
+use command::{exec_cmd,collect_zombies};
use event::{Event,next_event};
use safe_x11::grab_key;
@@ -157,5 +157,6 @@ fn main() {
},
_ => (),
}
+ collect_zombies();
}
}