diff options
author | Matias Linares <matiaslina@openmailbox.org> | 2015-11-30 22:50:01 -0300 |
---|---|---|
committer | Matias Linares <matiaslina@openmailbox.org> | 2015-11-30 22:50:01 -0300 |
commit | 12faa87415d91820503b6b1c98ebabbddc50d665 (patch) | |
tree | 1f44c59543467629b0e6560dae05594d82142070 /src/socket/mod.rs | |
parent | 17e7402348195d24b7745d4dbea9f922b71f675c (diff) | |
download | dotwm-12faa87415d91820503b6b1c98ebabbddc50d665.tar.gz |
Add resize-win-sticky.
The move window sticky is working weirdly. The movement should be using the
attrs.x and attrs.y instead the attrs.x/y + attrs.width/height. But it's
working :).
Diffstat (limited to 'src/socket/mod.rs')
-rw-r--r-- | src/socket/mod.rs | 2 |
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); |