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 authored and Wez Furlong committed 2021-09-08 09:27:23 -07:00
1 parent 95638e0864
commit 455ea89fa8
1 file changed
+1
+1
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();
}
_ => {}
}