Use only effective modifiers when handling XI2 button events
* src/xterm.c (handle_one_xevent): Use mods.effective when constructing button events.
This commit is contained in:
parent
88637c3415
commit
f90176b1ca
1 changed files with 1 additions and 4 deletions
|
@ -10149,10 +10149,7 @@ handle_one_xevent (struct x_display_info *dpyinfo,
|
|||
bv.x = lrint (xev->event_x);
|
||||
bv.y = lrint (xev->event_y);
|
||||
bv.window = xev->event;
|
||||
bv.state = xev->mods.base
|
||||
| xev->mods.effective
|
||||
| xev->mods.latched
|
||||
| xev->mods.locked;
|
||||
bv.state = xev->mods.effective;
|
||||
bv.time = xev->time;
|
||||
|
||||
memset (&compose_status, 0, sizeof (compose_status));
|
||||
|
|
Loading…
Add table
Reference in a new issue