Implement pointer constraints; update to send frame manually
This commit is contained in:
parent
0b057f153e
commit
373af07319
16 changed files with 272 additions and 49 deletions
|
|
@ -757,6 +757,14 @@ impl PointerTarget<State> for CosmicSurface {
|
|||
}
|
||||
}
|
||||
|
||||
fn frame(&self, seat: &Seat<State>, data: &mut State) {
|
||||
match self {
|
||||
CosmicSurface::Wayland(window) => PointerTarget::frame(window, seat, data),
|
||||
CosmicSurface::X11(surface) => PointerTarget::frame(surface, seat, data),
|
||||
_ => unreachable!(),
|
||||
}
|
||||
}
|
||||
|
||||
fn leave(
|
||||
&self,
|
||||
seat: &Seat<State>,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue