Version 0.1.6

This commit is contained in:
Takashi Kokubun 2021-12-30 13:40:07 -08:00
parent 67cff94344
commit 646a1dd53d
No known key found for this signature in database
GPG Key ID: 6FFC433B12EE23DD
4 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
## v0.1.6
* Add `launch` action to execute a command
[#52](https://github.com/k0kubun/xremap/issues/52)
## v0.1.5 ## v0.1.5
* Add `--watch` option to automatically add new devices * Add `--watch` option to automatically add new devices

2
Cargo.lock generated
View File

@ -967,7 +967,7 @@ dependencies = [
[[package]] [[package]]
name = "xremap" name = "xremap"
version = "0.1.5" version = "0.1.6"
dependencies = [ dependencies = [
"env_logger", "env_logger",
"evdev", "evdev",

View File

@ -1,6 +1,6 @@
[package] [package]
name = "xremap" name = "xremap"
version = "0.1.5" version = "0.1.6"
edition = "2021" edition = "2021"
description = "Dynamic key remapp for X and Wayland" description = "Dynamic key remapp for X and Wayland"
license = "MIT" license = "MIT"

View File

@ -218,7 +218,7 @@ impl EventHandler {
Ok(()) Ok(())
} }
pub fn run_command(&mut self, command: Vec<String>) { fn run_command(&mut self, command: Vec<String>) {
if !self.sigaction_set { if !self.sigaction_set {
// Avoid defunct processes // Avoid defunct processes
let sig_action = SigAction::new(SigHandler::SigDfl, SaFlags::SA_NOCLDWAIT, SigSet::empty()); let sig_action = SigAction::new(SigHandler::SigDfl, SaFlags::SA_NOCLDWAIT, SigSet::empty());