Release Notes: - N/A
This commit is contained in:
parent
c7de817bf9
commit
baad66c740
1 changed files with 5 additions and 5 deletions
|
@ -1252,12 +1252,12 @@ impl Dispatch<wl_keyboard::WlKeyboard, ()> for WaylandClientStatePtr {
|
||||||
keymap_state.update_mask(mods_depressed, mods_latched, mods_locked, 0, 0, group);
|
keymap_state.update_mask(mods_depressed, mods_latched, mods_locked, 0, 0, group);
|
||||||
state.modifiers = Modifiers::from_xkb(keymap_state);
|
state.modifiers = Modifiers::from_xkb(keymap_state);
|
||||||
|
|
||||||
if let Some(focused_window) = focused_window {
|
|
||||||
let input = PlatformInput::ModifiersChanged(ModifiersChangedEvent {
|
let input = PlatformInput::ModifiersChanged(ModifiersChangedEvent {
|
||||||
modifiers: state.modifiers,
|
modifiers: state.modifiers,
|
||||||
});
|
});
|
||||||
|
|
||||||
drop(state);
|
drop(state);
|
||||||
|
|
||||||
|
if let Some(focused_window) = focused_window {
|
||||||
focused_window.handle_input(input);
|
focused_window.handle_input(input);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue