aboutsummaryrefslogtreecommitdiffstats
path: root/src/ffi.rs
diff options
context:
space:
mode:
authorTeddy Wing2018-10-29 00:05:17 +0100
committerTeddy Wing2018-10-29 00:05:17 +0100
commitec60f43a0e0b46ad23a840bab4b80efac2310fec (patch)
treed966b7bf7e5c04810dfb5c7664a24e9e8933d72e /src/ffi.rs
parentc54226120bdc9277f9ab6e0e54dae9062550702d (diff)
downloaddome-key-map-ec60f43a0e0b46ad23a840bab4b80efac2310fec.tar.bz2
Rename `run_key_action_for_mode` to `run_key_action`
Now that this function no longer takes a "current mode" argument, the "mode" part of the name doesn't make sense.
Diffstat (limited to 'src/ffi.rs')
-rw-r--r--src/ffi.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ffi.rs b/src/ffi.rs
index c62b199..0f7054e 100644
--- a/src/ffi.rs
+++ b/src/ffi.rs
@@ -9,7 +9,7 @@ use xdg;
use {HeadphoneButton, MapGroup};
use config::{self, Config};
-use map::run_key_action_for_mode;
+use map::run_key_action;
use trial;
#[repr(C)]
@@ -102,7 +102,7 @@ pub extern "C" fn dome_key_run_key_action(
&mut *state
};
- run_key_action_for_mode(&mut state, trigger);
+ run_key_action(&mut state, trigger);
}
#[no_mangle]