mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-13 08:22:16 -04:00
output: Send frame events to disabled outputs
This allows compositors to easily modeset disabled outputs from their existing render loop through the idle frame timer.
This commit is contained in:
parent
e0adaaffb6
commit
3c9eb2ba15
1 changed files with 1 additions and 3 deletions
|
|
@ -877,9 +877,7 @@ void wlr_output_attach_buffer(struct wlr_output *output,
|
|||
|
||||
void wlr_output_send_frame(struct wlr_output *output) {
|
||||
output->frame_pending = false;
|
||||
if (output->enabled) {
|
||||
wl_signal_emit_mutable(&output->events.frame, output);
|
||||
}
|
||||
wl_signal_emit_mutable(&output->events.frame, output);
|
||||
}
|
||||
|
||||
static void schedule_frame_handle_idle_timer(void *data) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue