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
|
||||
.active_space_mut(&surface.output)
|
||||
.send_frames(
|
||||
true,
|
||||
state.common.start_time.elapsed().as_millis() as u32,
|
||||
);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -228,7 +228,7 @@ where
|
|||
Transform::Normal,
|
||||
&*damage
|
||||
.iter()
|
||||
.map(|rect| rect.to_buffer(1, Transform::Normal, &self.size))
|
||||
.map(|rect| rect.to_physical(1).to_f64())
|
||||
.collect::<Vec<_>>(),
|
||||
1.0,
|
||||
)?;
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@ impl WinitState {
|
|||
state
|
||||
.spaces
|
||||
.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
|
||||
.submit(damage.as_ref().map(|x| &**x), 1.0)
|
||||
.with_context(|| "Failed to submit buffer for display")?;
|
||||
|
|
|
|||
|
|
@ -175,7 +175,7 @@ impl Surface {
|
|||
state
|
||||
.spaces
|
||||
.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
|
||||
.submit()
|
||||
.with_context(|| "Failed to submit buffer for display")?;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue