Dont' commit surface in configure handler

This commit is contained in:
0140454 2021-01-30 21:39:07 +08:00 committed by akallabeth
parent 96ff661008
commit 30233a4c74

View File

@ -176,8 +176,6 @@ static void xdg_handle_surface_configure(void* data, struct xdg_surface* xdg_sur
uint32_t serial)
{
xdg_surface_ack_configure(xdg_surface, serial);
UwacWindow* window = (UwacWindow*)data;
wl_surface_commit(window->surface);
}
static const struct xdg_surface_listener xdg_surface_listener = {