wayland: enable keys emitting key events on reis capability
When key events can be emitted with the Emulated Input protocol, this
can cause more keys to be supported. Update the supported keys when a
keyboard is received so some keys can be enabled immediately, without
switching the layout.
Fixes: 030ca29ddd ("wayland: add optional reis emulated input support")
This commit is contained in:
parent
95fe5521c2
commit
1323cada17
1 changed files with 1 additions and 0 deletions
|
|
@ -195,6 +195,7 @@ impl Dispatcher {
|
|||
device::Event::Interface { object } => {
|
||||
if let Some(kbd) = object.downcast() {
|
||||
self.seat.keyboard_mut().set_ei_keyboard(dev, kbd);
|
||||
self.seat.button_mut().update_keys_supported();
|
||||
}
|
||||
},
|
||||
device::Event::Name { .. } => (),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue