kms: Always send frame callbacks

This commit is contained in:
Victoria Brekenfeld 2025-05-20 18:10:36 +02:00 committed by Victoria Brekenfeld
parent a65e1d6b5f
commit 3d3a566a3c

View file

@ -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) {