diff options
author | okan <okan> | 2013-05-22 20:23:21 +0000 |
---|---|---|
committer | okan <okan> | 2013-05-22 20:23:21 +0000 |
commit | 7cc1c7344fe74b91e528ea6792318d7af0d833ef (patch) | |
tree | 42cec365930ff4587ef4a102debb2a12980a3fda | |
parent | d1eadee9226043af0e2a7043a958e6c4d8e405bc (diff) | |
download | cwm-7cc1c7344fe74b91e528ea6792318d7af0d833ef.tar.gz cwm-7cc1c7344fe74b91e528ea6792318d7af0d833ef.tar.xz cwm-7cc1c7344fe74b91e528ea6792318d7af0d833ef.zip |
since we don't have any screens yet, there's no reason to conf_{,un}grab
here; just build keybindingq.
-rw-r--r-- | conf.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/conf.c b/conf.c index b3c5210..5d005c1 100644 --- a/conf.c +++ b/conf.c @@ -530,7 +530,6 @@ conf_bindname(struct conf *c, char *name, char *binding) current_binding->flags = name_to_kbfunc[i].flags; current_binding->argument = name_to_kbfunc[i].argument; current_binding->argtype |= ARG_INT; - conf_grab(c, current_binding); TAILQ_INSERT_TAIL(&c->keybindingq, current_binding, entry); return; } @@ -539,7 +538,6 @@ conf_bindname(struct conf *c, char *name, char *binding) current_binding->flags = 0; current_binding->argument.c = xstrdup(binding); current_binding->argtype |= ARG_CHAR; - conf_grab(c, current_binding); TAILQ_INSERT_TAIL(&c->keybindingq, current_binding, entry); } @@ -555,7 +553,6 @@ conf_unbind(struct conf *c, struct keybinding *unbind) if ((key->keycode != 0 && key->keysym == NoSymbol && key->keycode == unbind->keycode) || key->keysym == unbind->keysym) { - conf_ungrab(c, key); TAILQ_REMOVE(&c->keybindingq, key, entry); if (key->argtype & ARG_CHAR) free(key->argument.c); |