[uwac] output: assign actual_scale to display
This commit is contained in:
parent
472c0920cc
commit
5f0db48443
@ -88,7 +88,7 @@ static void output_handle_scale(void* data, struct wl_output* wl_output, int32_t
|
|||||||
UwacOutput* output = data;
|
UwacOutput* output = data;
|
||||||
assert(output);
|
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)
|
static void output_handle_name(void* data, struct wl_output* wl_output, const char* name)
|
||||||
|
@ -128,6 +128,7 @@ struct uwac_display
|
|||||||
UwacTask dispatch_fd_task;
|
UwacTask dispatch_fd_task;
|
||||||
uint32_t serial;
|
uint32_t serial;
|
||||||
uint32_t pointer_focus_serial;
|
uint32_t pointer_focus_serial;
|
||||||
|
int actual_scale;
|
||||||
|
|
||||||
struct wl_list windows;
|
struct wl_list windows;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user