From 49eea3893e91b6c3df90e53c0403a976bf1cda52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Mon, 10 Aug 2020 18:58:39 +0200 Subject: [PATCH] wayland: global-remove: return after finding a matching seat --- wayland.c | 1 + 1 file changed, 1 insertion(+) diff --git a/wayland.c b/wayland.c index ec6c7896..385e2098 100644 --- a/wayland.c +++ b/wayland.c @@ -932,6 +932,7 @@ handle_global_remove(void *data, struct wl_registry *registry, uint32_t name) seat_destroy(seat); tll_remove(wayl->seats, it); + return; } LOG_WARN("unknown global removed: 0x%08x", name);