1
1
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:
Greg V 2021-09-08 19:07:34 +03:00 committed by Wez Furlong
parent 95638e0864
commit 455ea89fa8

View File

@ -396,6 +396,7 @@ impl WaylandWindowInner {
..
} => {
mapper.update_modifier_state(mods_depressed, mods_latched, mods_locked, group);
self.modifiers = mapper.get_key_modifiers();
}
_ => {}
}