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:
1 parent
95638e0864
commit
455ea89fa8
1 file changed
+1
@@ -396,6 +396,7 @@ impl WaylandWindowInner {
|
||||
..
|
||||
} => {
|
||||
mapper.update_modifier_state(mods_depressed, mods_latched, mods_locked, group);
|
||||
self.modifiers = mapper.get_key_modifiers();
|
||||
}
|
||||
_ => {}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user