From fe2f3d98709d38ef4c3d2e6028fcf098ee0eba9e Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 11 Sep 2022 14:37:50 +0530 Subject: [PATCH] Wayland: Remove the mutter specific ignoring of the first empty surface configure event. It seems to be no longer necessary on current mutter, with the recent Wayland changes --- glfw/wl_window.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/glfw/wl_window.c b/glfw/wl_window.c index 6a1578a26..95eca536a 100644 --- a/glfw/wl_window.c +++ b/glfw/wl_window.c @@ -577,11 +577,6 @@ static void xdgSurfaceHandleConfigure(void* data, if (!window->wl.surface_configured_once) { window->wl.surface_configured_once = true; swap_buffers(window); - if (!width && !height && !new_states && !window->wl.decorations.serverSide && getenv("XAUTHORITY") && strstr(getenv("XAUTHORITY"), "mutter")) { - // https://github.com/kovidgoyal/kitty/issues/4802 - debug("Ignoring first empty surface configure event on mutter.\n"); - return; - } } if (new_states != window->wl.current.toplevel_states ||