Fix two bugs: - if there are no backgrounds at all, the background pointer would have been bogus. Lead to a segfault. - if the hidden_surface_list is empty, wl_list_insert_list() would corrupt the list. Lead to a hang in pick_surface(). Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>dev
parent
65c74cb18b
commit
fe34083023
Loading…
Reference in new issue