mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2024-11-25 00:22:25 +00:00
output: use backend-wide timeline feature flag
This commit is contained in:
parent
514c4b4cce
commit
186bdc8da4
@ -638,7 +638,7 @@ static bool output_basic_test(struct wlr_output *output,
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ((state->committed & (WLR_OUTPUT_STATE_WAIT_TIMELINE | WLR_OUTPUT_STATE_SIGNAL_TIMELINE)) &&
|
if ((state->committed & (WLR_OUTPUT_STATE_WAIT_TIMELINE | WLR_OUTPUT_STATE_SIGNAL_TIMELINE)) &&
|
||||||
!output->timeline) {
|
!output->backend->features.timeline) {
|
||||||
wlr_log(WLR_DEBUG, "Wait/signal timelines are not supported for this output");
|
wlr_log(WLR_DEBUG, "Wait/signal timelines are not supported for this output");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user