diff options
author | portix <portix@gmx.net> | 2013-06-03 23:07:33 +0200 |
---|---|---|
committer | portix <portix@gmx.net> | 2013-06-03 23:07:33 +0200 |
commit | 7e33aa28989f08e431dfaf69c8550d1857344431 (patch) | |
tree | 478c3f14ba6a5744761adaa2cdfd5e3e251b25b2 | |
parent | 2a476be510264eba00db69298d730f1fe479fc6b (diff) | |
download | dwb-7e33aa28989f08e431dfaf69c8550d1857344431.zip |
Allow binding of numbers
-rw-r--r-- | src/dwb.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2968,7 +2968,7 @@ dwb_eval_key(GdkEventKey *e) if (key == NULL) return false; - if (DIGIT(e)) + if (dwb.state.buffer->len == 0 && DIGIT(e)) { keynum = e->keyval - GDK_KEY_0; if (dwb.state.nummod >= 0) |