Check that wlsc_surface::link is part of a list before assuming it is part of the compositor->surface_list list. The shell plugin may want to remove a surface from the compositor's surface list to hide it. Note, that the shell plugin cannot use wlsc_surface::link for its own purposes. Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>dev
parent
ebc598ebf0
commit
d503a0b318
Loading…
Reference in new issue