Revert "avoid redraw when there's no change"
This reverts commit 6818e07291
.
This broke keys such as ^W to delete-backward-word
This commit is contained in:
parent
6818e07291
commit
31fa07b984
5
dmenu.c
5
dmenu.c
@ -415,9 +415,8 @@ keypress(XKeyEvent *ev)
|
|||||||
switch(ksym) {
|
switch(ksym) {
|
||||||
default:
|
default:
|
||||||
insert:
|
insert:
|
||||||
if (iscntrl((unsigned char)*buf))
|
if (!iscntrl(*buf))
|
||||||
return;
|
insert(buf, len);
|
||||||
insert(buf, len);
|
|
||||||
break;
|
break;
|
||||||
case XK_Delete:
|
case XK_Delete:
|
||||||
case XK_KP_Delete:
|
case XK_KP_Delete:
|
||||||
|
Loading…
Reference in New Issue
Block a user