Add effective group to xkey events when handling XI key press events
* src/xterm.c (handle_one_xevent): Add effective group to xkey.state when translating XI key events.
This commit is contained in:
parent
24a52df738
commit
6668a7608c
1 changed files with 2 additions and 1 deletions
|
@ -10668,7 +10668,8 @@ handle_one_xevent (struct x_display_info *dpyinfo,
|
|||
xkey.root = xev->root;
|
||||
xkey.subwindow = xev->child;
|
||||
xkey.time = xev->time;
|
||||
xkey.state = xev->mods.effective;
|
||||
xkey.state = ((xev->mods.effective & ~(1 << 13 | 1 << 14))
|
||||
| (xev->group.effective << 13));
|
||||
xkey.keycode = xev->detail;
|
||||
xkey.same_screen = True;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue