diff --git a/gfx/drivers_context/wayland_ctx.c b/gfx/drivers_context/wayland_ctx.c index e971e35e65..a712c64895 100644 --- a/gfx/drivers_context/wayland_ctx.c +++ b/gfx/drivers_context/wayland_ctx.c @@ -657,6 +657,8 @@ static void handle_toplevel_config(void *data, struct xdg_toplevel *toplevel, wl->width = width; wl->height = height; } + + wl_egl_window_resize(wl->win, width, height, 0, 0); wl->configured = false; } @@ -721,6 +723,8 @@ static void handle_zxdg_toplevel_config(void *data, struct zxdg_toplevel_v6 *top wl->width = width; wl->height = height; } + + wl_egl_window_resize(wl->win, width, height, 0, 0); wl->configured = false; }