projects
/
suckless
/
dmenu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6818e07
)
Revert "avoid redraw when there's no change"
author
Hiltjo Posthuma
<hiltjo@codemadness.org>
Sat, 26 Mar 2022 16:57:50 +0000
(17:57 +0100)
committer
Hiltjo Posthuma
<hiltjo@codemadness.org>
Sat, 26 Mar 2022 16:57:50 +0000
(17:57 +0100)
This reverts commit
6818e07291f3b2913e687c8ec3d3fe4711724050
.
This broke keys such as ^W to delete-backward-word
dmenu.c
patch
|
blob
|
history
diff --git
a/dmenu.c
b/dmenu.c
index 19f6385367133c72bccb2432f549b0a5466497aa..085dc292631e72778c05c31f4c4840d9ab0b0856 100644
(file)
--- a/
dmenu.c
+++ b/
dmenu.c
@@
-415,9
+415,8
@@
keypress(XKeyEvent *ev)
switch(ksym) {
default:
insert:
- if (iscntrl((unsigned char)*buf))
- return;
- insert(buf, len);
+ if (!iscntrl(*buf))
+ insert(buf, len);
break;
case XK_Delete:
case XK_KP_Delete: