1
0
Fork 0
forked from wry/wry

seat: keep track of focus serials

This commit is contained in:
Julian Orth 2024-10-17 15:48:47 +02:00
parent eff490a653
commit 324540c41e
5 changed files with 26 additions and 13 deletions

View file

@ -134,7 +134,7 @@ impl Node for ExtSessionLockSurfaceV1 {
}
fn node_on_pointer_enter(self: Rc<Self>, seat: &Rc<WlSeatGlobal>, _x: Fixed, _y: Fixed) {
seat.focus_node(self.surface.clone());
seat.focus_node_with_serial(self.surface.clone(), self.client.next_serial());
}
}