Update smithay, with xwayland shell, Cow, etc.
This commit is contained in:
parent
dfb3bea595
commit
4f076e0753
32 changed files with 220 additions and 87 deletions
|
|
@ -525,6 +525,16 @@ impl TouchGrab<State> for ResizeForkGrab {
|
|||
handle.unset_grab(self, data);
|
||||
}
|
||||
|
||||
fn shape(
|
||||
&mut self,
|
||||
data: &mut State,
|
||||
handle: &mut TouchInnerHandle<'_, State>,
|
||||
event: &ShapeEvent,
|
||||
seq: Serial,
|
||||
) {
|
||||
handle.shape(data, event, seq)
|
||||
}
|
||||
|
||||
fn start_data(&self) -> &TouchGrabStartData<State> {
|
||||
match &self.start_data {
|
||||
GrabStartData::Touch(start_data) => start_data,
|
||||
|
|
@ -532,5 +542,15 @@ impl TouchGrab<State> for ResizeForkGrab {
|
|||
}
|
||||
}
|
||||
|
||||
fn orientation(
|
||||
&mut self,
|
||||
data: &mut State,
|
||||
handle: &mut TouchInnerHandle<'_, State>,
|
||||
event: &OrientationEvent,
|
||||
seq: Serial,
|
||||
) {
|
||||
handle.orientation(data, event, seq)
|
||||
}
|
||||
|
||||
fn unset(&mut self, _data: &mut State) {}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2791,7 +2791,7 @@ impl TilingLayout {
|
|||
.find(|node| match node.data() {
|
||||
Data::Mapped { mapped, .. } => mapped
|
||||
.windows()
|
||||
.any(|(w, _)| w.wl_surface().as_ref() == Some(&toplevel_surface)),
|
||||
.any(|(w, _)| w.wl_surface().as_deref() == Some(&toplevel_surface)),
|
||||
_ => false,
|
||||
})?;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue