Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2016-07-18 20:15:38 +0200
committerStijn Buys <ingar@osirion.org>2016-07-18 20:15:38 +0200
commit6b43f8c5ee2d33e43cc8a270c7d121e2ac93ddff (patch)
tree7cc53810526e555ad7c328a6ba9747ee9d52e93b
parentd2930683d23e7d58e296d1f88427c0d7c8d0b9a1 (diff)
Corrected a bug where you could not unbind keys with modifiers.
-rw-r--r--src/client/keyboard.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/keyboard.cc b/src/client/keyboard.cc
index 75cc5cb..b05aaa8 100644
--- a/src/client/keyboard.cc
+++ b/src/client/keyboard.cc
@@ -603,7 +603,7 @@ void Keyboard::unbind(std::string const &name)
modifier = Key::Alt;
}
- Key *key = find(name);
+ Key *key = find(keyname);
if (key) {
key->clear(modifier);
} else {