fix(wayland): this may fix it

This commit is contained in:
Paul Fey 2025-02-22 16:29:29 +01:00
parent 43c8316380
commit 80404504ed

View file

@ -699,6 +699,7 @@ handle_global_remove(void *data, struct wl_registry *registry, uint32_t name)
tll_foreach(backend->monitors, it)
{
struct monitor *mon = &it->item;
/*
if (mon->wl_name == name) {
LOG_INFO("%s disconnected/disabled", mon->name);
@ -708,9 +709,10 @@ handle_global_remove(void *data, struct wl_registry *registry, uint32_t name)
backend->monitor = NULL;
}
//tll_remove(backend->monitors, it);
tll_remove(backend->monitors, it);
return;
}
*/
}
LOG_WARN("unknown global removed: 0x%08x", name);