aboutsummaryrefslogtreecommitdiff
path: root/src/input
diff options
context:
space:
mode:
Diffstat (limited to 'src/input')
-rw-r--r--src/input/mod.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/input/mod.rs b/src/input/mod.rs
index 976f51db..eec8fbe4 100644
--- a/src/input/mod.rs
+++ b/src/input/mod.rs
@@ -3024,6 +3024,7 @@ pub fn mods_with_finger_scroll_binds(comp_mod: CompositorMod, binds: &Binds) ->
#[cfg(test)]
mod tests {
use super::*;
+ use crate::animation::Clock;
#[test]
fn bindings_suppress_keys() {
@@ -3042,7 +3043,7 @@ mod tests {
let comp_mod = CompositorMod::Super;
let mut suppressed_keys = HashSet::new();
- let screenshot_ui = ScreenshotUi::new(Default::default());
+ let screenshot_ui = ScreenshotUi::new(Clock::default(), Default::default());
let disable_power_key_handling = false;
// The key_code we pick is arbitrary, the only thing