desktop-shell: destroy data before exiting.
authorU. Artie Eoff <ullysses.a.eoff@intel.com>
Wed, 3 Oct 2012 04:12:35 +0000 (21:12 -0700)
committerKristian Høgsberg <krh@bitplanet.net>
Thu, 4 Oct 2012 15:37:40 +0000 (11:37 -0400)
commit44874d9f022de21dbd2c8aa3cf9c9bb5a0506f68
tree86769f98c180b6c173c6a41bbc3868c616d05d0b
parent371805f76e9cecb57fc77c1a9e58911ba2fd1628
desktop-shell: destroy data before exiting.

desktop-shell never returned from display_run() since it
was essentially killed when weston exited.  To fix this,
it is necessary to watch for EPOLLHUP in window.c so that
toytoolkit clients will return from display_run() when
weston quits.  This allows for clients to clean up
as needed.

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
clients/desktop-shell.c
clients/window.c