Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/key.cc')
-rw-r--r--src/client/key.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/client/key.cc b/src/client/key.cc
index 9b0c942..27ed22a 100644
--- a/src/client/key.cc
+++ b/src/client/key.cc
@@ -9,7 +9,7 @@
namespace client {
-Key::Key(const char *name, unsigned int keysym, char ascii, const char *bind)
+Key::Key(const char *name, int keysym, char ascii, const char *bind)
{
key_sym = keysym;
key_ascii = ascii;
@@ -21,6 +21,10 @@ Key::Key(const char *name, unsigned int keysym, char ascii, const char *bind)
if (bind)
key_bind.assign(bind);
+
+ key_bind_shift.clear();
+ key_bind_ctrl.clear();
+ key_bind_alt.clear();
}
Key::~Key()