shell: Fix not destroy black surface when fullscreen surface exit abnomally.
authorAlex Wu <zhiwen.wu@linux.intel.com>
Mon, 5 Mar 2012 03:01:40 +0000 (11:01 +0800)
committerKristian Høgsberg <krh@bitplanet.net>
Thu, 8 Mar 2012 17:57:54 +0000 (12:57 -0500)
commitaa08e2d56dcf3d1e8091cb0f452f599fbe57b84a
treefa017459769c3cabd5ddfdc7ca595ab3e1afe28a
parent60c4954b8a0667ad5e5f65110d0342b171f3a2a2
shell: Fix not destroy black surface when fullscreen surface exit abnomally.

When a client with fullscreen surface displayed was aborted by Ctrl-C, the
black surface still be there. Destroy the black surface in
destroy_shell_surface().
src/shell.c