mirror of
https://github.com/libretro/RetroArch
synced 2025-01-31 15:32:59 +00:00
Add toplevel width and height
This commit is contained in:
parent
1e097b0e1d
commit
d81e9a08b2
@ -576,6 +576,10 @@ static void handle_toplevel_config(void *data, struct xdg_toplevel *toplevel,
|
||||
gfx_ctx_wayland_data_t *wl = (gfx_ctx_wayland_data_t*)data;
|
||||
|
||||
/* TODO: implement resizing */
|
||||
(void)toplevel;
|
||||
|
||||
wl->width = wl->buffer_scale * width;
|
||||
wl->height = wl->buffer_scale * height;
|
||||
|
||||
wl->configured = false;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user