aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-08-10 16:58:39 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-08-13 16:47:19 +0000
commit49eea3893e91b6c3df90e53c0403a976bf1cda52 (patch)
tree0d019debcda36608099d63e0f2830adf55124c6c
parentwayland: global-remove: fix call to pointer_listener.leave() (diff)
wayland: global-remove: return after finding a matching seat
-rw-r--r--wayland.c1
1 files changed, 1 insertions, 0 deletions
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);