From 30233a4c74bbdd5d52830619068691f9ea5595c1 Mon Sep 17 00:00:00 2001 From: 0140454 Date: Sat, 30 Jan 2021 21:39:07 +0800 Subject: [PATCH] Dont' commit surface in configure handler --- uwac/libuwac/uwac-window.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/uwac/libuwac/uwac-window.c b/uwac/libuwac/uwac-window.c index 1dc5574ff..13a2c2e78 100644 --- a/uwac/libuwac/uwac-window.c +++ b/uwac/libuwac/uwac-window.c @@ -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 = {