exposay: don't crash if a view goes away
authorEmilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>
Mon, 10 Feb 2014 13:23:04 +0000 (14:23 +0100)
committerKristian Høgsberg <krh@bitplanet.net>
Tue, 18 Feb 2014 22:04:39 +0000 (14:04 -0800)
commitf942b73a1c25260b5903efc573b4d7bbb1c48bcc
treeedb3443c67e2d94a25ec7ad361da3d382bb4632c
parent3b6e68e2c1e3b80173f29b9930f966ce84fd5c77
exposay: don't crash if a view goes away

When a view was destroyed while we were on exposay, we didn't
remove it from the list of views, and so when leaving exposay
we were trying to animate (and sometimes activate) a
non-existent view, causing a crash.

Signed-off-by: Emilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>
desktop-shell/exposay.c