[uwac] output: assign actual_scale to display

This commit is contained in:
Mariusz Bialonczyk 2023-12-30 12:43:27 +01:00 committed by akallabeth
parent 472c0920cc
commit 5f0db48443
2 changed files with 2 additions and 1 deletions

View File

@ -88,7 +88,7 @@ static void output_handle_scale(void* data, struct wl_output* wl_output, int32_t
UwacOutput* output = data;
assert(output);
output->scale = scale;
output->display->actual_scale = output->scale = scale;
}
static void output_handle_name(void* data, struct wl_output* wl_output, const char* name)

View File

@ -128,6 +128,7 @@ struct uwac_display
UwacTask dispatch_fd_task;
uint32_t serial;
uint32_t pointer_focus_serial;
int actual_scale;
struct wl_list windows;