Bugfix #32996
Backspace event is messed up - it was inserting weird characters in the editors. Added check for proper keypress now. Will check real issue later.
This commit is contained in:
@@ -1331,7 +1331,8 @@ static int wm_eventmatch(wmEvent *winevent, wmKeyMapItem *kmi)
|
||||
|
||||
/* the matching rules */
|
||||
if (kmitype == KM_TEXTINPUT)
|
||||
if (ISTEXTINPUT(winevent->type) && (winevent->ascii || winevent->utf8_buf[0])) return 1;
|
||||
if (winevent->val == KM_PRESS)
|
||||
if (ISTEXTINPUT(winevent->type) && (winevent->ascii || winevent->utf8_buf[0])) return 1;
|
||||
if (kmitype != KM_ANY)
|
||||
if (winevent->type != kmitype) return 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user