clients/editor.c: Ignore ESC key
Otherwise, editor would print the "unknown UTF-8 glyph" boxes.
This commit is contained in:
committed by
Kristian Høgsberg
parent
e1ad1d2498
commit
08c38d4bc5
@@ -1155,6 +1155,8 @@ key_handler(struct window *window,
|
||||
widget_schedule_redraw(entry->widget);
|
||||
}
|
||||
break;
|
||||
case XKB_KEY_Escape:
|
||||
break;
|
||||
default:
|
||||
if (xkb_keysym_to_utf8(sym, text, sizeof(text)) <= 0)
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user