mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-06-13 14:32:57 -04:00
wlr_output: Make wlr_output_effective_resolution take state
This commit is contained in:
parent
d65a3fceaf
commit
a8aa9fdf2b
10 changed files with 20 additions and 14 deletions
|
|
@ -55,7 +55,7 @@ static void output_frame_notify(struct wl_listener *listener, void *data) {
|
|||
clock_gettime(CLOCK_MONOTONIC, &now);
|
||||
|
||||
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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue