deps: Update for new smithay changes
This commit is contained in:
parent
749a032507
commit
9417a72818
4 changed files with 3 additions and 4 deletions
|
|
@ -246,7 +246,6 @@ impl State {
|
||||||
.spaces
|
.spaces
|
||||||
.active_space_mut(&surface.output)
|
.active_space_mut(&surface.output)
|
||||||
.send_frames(
|
.send_frames(
|
||||||
true,
|
|
||||||
state.common.start_time.elapsed().as_millis() as u32,
|
state.common.start_time.elapsed().as_millis() as u32,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -228,7 +228,7 @@ where
|
||||||
Transform::Normal,
|
Transform::Normal,
|
||||||
&*damage
|
&*damage
|
||||||
.iter()
|
.iter()
|
||||||
.map(|rect| rect.to_buffer(1, Transform::Normal, &self.size))
|
.map(|rect| rect.to_physical(1).to_f64())
|
||||||
.collect::<Vec<_>>(),
|
.collect::<Vec<_>>(),
|
||||||
1.0,
|
1.0,
|
||||||
)?;
|
)?;
|
||||||
|
|
|
||||||
|
|
@ -57,7 +57,7 @@ impl WinitState {
|
||||||
state
|
state
|
||||||
.spaces
|
.spaces
|
||||||
.active_space_mut(&self.output)
|
.active_space_mut(&self.output)
|
||||||
.send_frames(true, state.start_time.elapsed().as_millis() as u32);
|
.send_frames(state.start_time.elapsed().as_millis() as u32);
|
||||||
backend
|
backend
|
||||||
.submit(damage.as_ref().map(|x| &**x), 1.0)
|
.submit(damage.as_ref().map(|x| &**x), 1.0)
|
||||||
.with_context(|| "Failed to submit buffer for display")?;
|
.with_context(|| "Failed to submit buffer for display")?;
|
||||||
|
|
|
||||||
|
|
@ -175,7 +175,7 @@ impl Surface {
|
||||||
state
|
state
|
||||||
.spaces
|
.spaces
|
||||||
.active_space_mut(&self.output)
|
.active_space_mut(&self.output)
|
||||||
.send_frames(true, state.start_time.elapsed().as_millis() as u32);
|
.send_frames(state.start_time.elapsed().as_millis() as u32);
|
||||||
self.surface
|
self.surface
|
||||||
.submit()
|
.submit()
|
||||||
.with_context(|| "Failed to submit buffer for display")?;
|
.with_context(|| "Failed to submit buffer for display")?;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue