Browse Source

Revert "avoid redraw when there's no change"

This reverts commit 6818e07291.

This broke keys such as ^W to delete-backward-word
master
Hiltjo Posthuma 3 years ago
parent
commit
31fa07b984
1 changed files with 2 additions and 3 deletions
  1. +2
    -3
      dmenu.c

+ 2
- 3
dmenu.c View File

@ -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:


Loading…
Cancel
Save