Merge pull request #7855 from myfreeweb/wayland-hidpi-resize

Wayland: Fix window resizing on HiDPI monitors
This commit is contained in:
Twinaphex 2019-01-01 00:35:16 +01:00 committed by GitHub
commit eaef091915
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -870,8 +870,8 @@ static void gfx_ctx_wl_get_video_size(void *data,
{
gfx_ctx_wayland_data_t *wl = (gfx_ctx_wayland_data_t*)data;
*width = wl->width;
*height = wl->height;
*width = wl->width * wl->buffer_scale;
*height = wl->height * wl->buffer_scale;
}
static void gfx_ctx_wl_destroy_resources(gfx_ctx_wayland_data_t *wl)