forked from external/yambar
fix(wayland): this may fix it
This commit is contained in:
parent
43c8316380
commit
80404504ed
1 changed files with 3 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue