wlr_output: Make wlr_output_effective_resolution take state

This commit is contained in:
Alexander Orzechowski 2023-12-05 20:36:52 -05:00
parent c3b5e710f4
commit 34ec9319d0
11 changed files with 21 additions and 15 deletions

View file

@ -72,7 +72,7 @@ static void output_frame_notify(struct wl_listener *listener, void *data) {
struct wlr_output *wlr_output = sample_output->output;
int32_t width, height;
wlr_output_effective_resolution(wlr_output, &width, &height);
wlr_output_effective_resolution(wlr_output, NULL, &width, &height);
struct wlr_output_state output_state;
wlr_output_state_init(&output_state);