Skip to content

Commit

Permalink
do not send delete key press
Browse files Browse the repository at this point in the history
  • Loading branch information
sigma0 committed Mar 18, 2021
1 parent 106cfef commit 9a8b5fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Backends/System/Linux/Sources/kinc/backend/system.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ bool kinc_internal_handle_messages() {
XKeyEvent* key = (XKeyEvent*)&event;
KeySym keysym = XkbKeycodeToKeysym(Kore::Linux::display, event.xkey.keycode, 0, 0);

bool isIgnoredKeySym = keysym == XK_Escape || keysym == XK_BackSpace;
bool isIgnoredKeySym = keysym == XK_Escape || keysym == XK_BackSpace || keysym == XK_Delete;
if (!controlDown && !XFilterEvent(&event, win) && !isIgnoredKeySym) {

wchar_t wchar;
Expand Down

0 comments on commit 9a8b5fd

Please sign in to comment.