wayland: always commit surface on configure

This commit is contained in:
Alexander Orzechowski 2022-03-02 14:43:49 -05:00
parent f421666a27
commit ac407d42de

3
glfw/wl_window.c vendored
View File

@ -519,10 +519,11 @@ static void xdgSurfaceHandleConfigure(void* data,
debug("final window content size: %dx%d\n", window->wl.current.width, window->wl.current.height);
_glfwInputWindowFocus(window, window->wl.current.toplevel_states & TOPLEVEL_STATE_ACTIVATED);
ensure_csd_resources(window);
wl_surface_commit(window->wl.surface);
inform_compositor_of_window_geometry(window, "configure");
if (live_resize_done) _glfwInputLiveResize(window, false);
}
wl_surface_commit(window->wl.surface);
}
static const struct xdg_surface_listener xdgSurfaceListener = {