commit | d503a0b318c1946a6c243e2a50eef1f5e21f0612 | [log] [tgz] |
---|---|---|
author | Pekka Paalanen <ppaalanen@gmail.com> | Tue Nov 15 13:34:53 2011 +0200 |
committer | Kristian Høgsberg <krh@bitplanet.net> | Tue Nov 15 16:43:24 2011 -0500 |
tree | c0a664300832b84c8e2b457ae3eecc8705731800 | |
parent | ebc598ebf06b6dae5c989fda2d4480ed1a1b75a1 [diff] |
compositor: check wlsc_surface::link before accessing neighbors 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>