projects
/
mikachu
/
openbox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
dont reparse the config file when the keyboard map changes. just rebind everything...
[mikachu/openbox.git]
/
openbox
/
translate.c
diff --git
a/openbox/translate.c
b/openbox/translate.c
index
2101557
..
b2ae7d6
100644
(file)
--- a/
openbox/translate.c
+++ b/
openbox/translate.c
@@
-111,6
+111,8
@@
gboolean translate_key(const gchar *str, guint *state, guint *keycode)
parsed = g_strsplit(str, "-", -1);
+ *state = *keycode = 0;
+
/* first, find the key (last token) */
l = NULL;
for (i = 0; parsed[i] != NULL; ++i)