summaryrefslogtreecommitdiff
path: root/src/socket/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/socket/mod.rs')
-rw-r--r--src/socket/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/socket/mod.rs b/src/socket/mod.rs
index 667969b..66dae16 100644
--- a/src/socket/mod.rs
+++ b/src/socket/mod.rs
@@ -27,7 +27,7 @@ impl<'a> ParsedCmd<'a> {
pub fn handle(self, wm: &mut DotWM, bindings: &mut BindingHash) {
match self.f {
FnType::Bind => {
- let modifier = self.modifiers.iter()
+ let modifier: u32 = self.modifiers.iter()
.fold(0, |acc, x| acc | x );
add_binding(wm, bindings,
self.key, modifier, self.func, &self.args);