Use only effective modifiers for XI2 key press events
* src/xterm.c (handle_one_xevent): Use only effective modifiers in XI_KeyPress events.
This commit is contained in:
parent
bb2a989e00
commit
a4ac609098
1 changed files with 1 additions and 4 deletions
|
@ -10292,10 +10292,7 @@ handle_one_xevent (struct x_display_info *dpyinfo,
|
|||
}
|
||||
case XI_KeyPress:
|
||||
{
|
||||
int state = xev->mods.base
|
||||
| xev->mods.effective
|
||||
| xev->mods.latched
|
||||
| xev->mods.locked;
|
||||
int state = xev->mods.effective;
|
||||
Lisp_Object c;
|
||||
#ifdef HAVE_XKB
|
||||
unsigned int mods_rtrn;
|
||||
|
|
Loading…
Add table
Reference in a new issue