mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-01 22:58:38 -04:00
output: add wlr_output_schedule_frame
This commit is contained in:
parent
ece2c1e4e2
commit
8d58ed502b
9 changed files with 41 additions and 31 deletions
|
|
@ -85,7 +85,7 @@ bool wlr_output_is_headless(struct wlr_output *wlr_output) {
|
|||
|
||||
static int signal_frame(void *data) {
|
||||
struct wlr_headless_output *output = data;
|
||||
wl_signal_emit(&output->wlr_output.events.frame, &output->wlr_output);
|
||||
wlr_output_send_frame(&output->wlr_output);
|
||||
wl_event_source_timer_update(output->frame_timer, output->frame_delay);
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue