mirror of
https://github.com/wez/wezterm.git
synced 2024-11-27 12:23:46 +03:00
window: unbreak bypass_mouse_reporting_modifiers on Wayland (fixes #1122)
Modifier state was not saved to the `modifiers` field that's read when converting mouse events, so these events always had no modifiers.
This commit is contained in:
parent
95638e0864
commit
455ea89fa8
@ -396,6 +396,7 @@ impl WaylandWindowInner {
|
||||
..
|
||||
} => {
|
||||
mapper.update_modifier_state(mods_depressed, mods_latched, mods_locked, group);
|
||||
self.modifiers = mapper.get_key_modifiers();
|
||||
}
|
||||
_ => {}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user