Dont' commit surface in configure handler
author0140454 <s1994928@yahoo.com.tw>
Sat, 30 Jan 2021 13:39:07 +0000 (21:39 +0800)
committerakallabeth <akallabeth@users.noreply.github.com>
Thu, 25 Feb 2021 08:51:41 +0000 (09:51 +0100)
(cherry picked from commit 256b94450cc921560dd9842fadc45edbeb85e760)

uwac/libuwac/uwac-window.c

index 1dc5574..13a2c2e 100644 (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 = {