kms: Always send frame callbacks
This commit is contained in:
parent
a65e1d6b5f
commit
3d3a566a3c
1 changed files with 2 additions and 4 deletions
|
|
@ -847,9 +847,8 @@ impl SurfaceThreadState {
|
|||
self.vblank_frame = Some(vblank_frame);
|
||||
|
||||
self.queue_redraw(false);
|
||||
} else {
|
||||
self.send_frame_callbacks();
|
||||
}
|
||||
self.send_frame_callbacks();
|
||||
}
|
||||
|
||||
#[profiling::function]
|
||||
|
|
@ -870,9 +869,8 @@ impl SurfaceThreadState {
|
|||
|
||||
if force || self.shell.read().animations_going() {
|
||||
self.queue_redraw(false);
|
||||
} else {
|
||||
self.send_frame_callbacks();
|
||||
}
|
||||
self.send_frame_callbacks();
|
||||
}
|
||||
|
||||
fn queue_redraw(&mut self, force: bool) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue