wlr_output: Make wlr_output_effective_resolution take state

This commit is contained in:
Alexander Orzechowski 2026-05-15 11:46:24 -04:00
parent d65a3fceaf
commit a8aa9fdf2b
10 changed files with 20 additions and 14 deletions

View file

@ -387,7 +387,7 @@ void wlr_output_transformed_resolution(struct wlr_output *output,
* Computes the transformed and scaled output resolution.
*/
void wlr_output_effective_resolution(struct wlr_output *output,
int *width, int *height);
const struct wlr_output_state *state, int *width, int *height);
/**
* Test whether this output state would be accepted by the backend. If this
* function returns true, wlr_output_commit_state() will only fail due to a