diff options
Diffstat (limited to 'video/out/opengl/context_wayland.c')
-rw-r--r-- | video/out/opengl/context_wayland.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/video/out/opengl/context_wayland.c b/video/out/opengl/context_wayland.c index 59e24ded43..410a490ee7 100644 --- a/video/out/opengl/context_wayland.c +++ b/video/out/opengl/context_wayland.c @@ -128,6 +128,8 @@ static void resize(struct ra_ctx *ctx) if (p->egl_window) wl_egl_window_resize(p->egl_window, width, height, 0, 0); + if (!wl->vo_opts->fullscreen && !wl->vo_opts->window_maximized) + wl_surface_commit(wl->surface); wl->vo->dwidth = width; wl->vo->dheight = height; } |