mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-18 06:47:31 -04:00
wlr_output: Make wlr_output_effective_resolution take state
This commit is contained in:
parent
c3b5e710f4
commit
34ec9319d0
11 changed files with 21 additions and 15 deletions
|
|
@ -344,7 +344,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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue