From 6b43f8c5ee2d33e43cc8a270c7d121e2ac93ddff Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Mon, 18 Jul 2016 20:15:38 +0200 Subject: Corrected a bug where you could not unbind keys with modifiers. --- src/client/keyboard.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 { -- cgit v1.2.3