diff options
-rw-r--r-- | types/wlr_layer_shell_v1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/types/wlr_layer_shell_v1.c b/types/wlr_layer_shell_v1.c index bcc56cad..4b71ecda 100644 --- a/types/wlr_layer_shell_v1.c +++ b/types/wlr_layer_shell_v1.c @@ -61,7 +61,7 @@ static void layer_surface_handle_ack_configure(struct wl_client *client, bool found = false; struct wlr_layer_surface_v1_configure *configure, *tmp; - if (!surface) { + if (!surface || surface->closed) { return; } wl_list_for_each_safe(configure, tmp, &surface->configure_list, link) { |