1
0
Fork 0
forked from wry/wry

autocommit 2022-02-06 20:12:09 CET

This commit is contained in:
Julian Orth 2022-02-06 20:12:09 +01:00
parent 3f50b0c75e
commit 96038f49bc
18 changed files with 60 additions and 90 deletions

View file

@ -229,7 +229,7 @@ impl WlSeatGlobal {
let pressed_keys: Vec<_> = self.pressed_keys.borrow().iter().copied().collect();
let serial = self.serial.fetch_add(1);
self.surface_kb_event(0, &surface, |k| {
k.send_enter(serial, surface.id, pressed_keys.clone())
k.send_enter(serial, surface.id, &pressed_keys)
});
let ModifierState {
mods_depressed,

View file

@ -75,9 +75,9 @@ impl WlKeyboard {
self: &Rc<Self>,
serial: u32,
surface: WlSurfaceId,
keys: Vec<u32>,
keys: &[u32],
) {
self.seat.client.event(EnterOut {
self.seat.client.event(Enter {
self_id: self.id,
serial,
surface,