diff options
Diffstat (limited to 'src/client')
-rw-r--r-- | src/client/keyboard.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/keyboard.cc b/src/client/keyboard.cc index 10d98ea..d8b14b3 100644 --- a/src/client/keyboard.cc +++ b/src/client/keyboard.cc @@ -167,7 +167,7 @@ Keyboard::Keyboard() add_key("f7", SDLK_F7); add_key("f8", SDLK_F8); add_key("f9", SDLK_F9); - add_key("f10", SDLK_F11); + add_key("f10", SDLK_F10); add_key("f11", SDLK_F11); add_key("f12", SDLK_F12); add_key("f13", SDLK_F13); @@ -329,7 +329,7 @@ Key *Keyboard::find(unsigned int keysym) void Keyboard::bind(std::string const &name, const std::string str) { - Key *key = find(name); + Key *key = find(aux::lowercase(name)); if (key) { key->assign(Key::None, str.c_str()); } else { |