shell: Don't start a fade animation if we don't have an output
authorKristian Høgsberg <krh@bitplanet.net>
Mon, 20 Jan 2014 05:48:10 +0000 (21:48 -0800)
committerKristian Høgsberg <krh@bitplanet.net>
Mon, 20 Jan 2014 05:48:10 +0000 (21:48 -0800)
commit87d3b61355cf742f8ac1270c3f4e38ded9501de7
tree9ebdc7b7d6f9dfb4001102014e1e9d7017a0d7c9
parent8fe412d35b7926906904840744a9c8d8b274c57f
shell: Don't start a fade animation if we don't have an output

When the last window of the X11 compositor is closed during a fade or
while locked, we'll try to start a fade back to the lock screen.  However,
if we closed the last window, there are no outputs left and the animation
will try to run with surface->output == NULL.

https://bugs.freedesktop.org/show_bug.cgi?id=73665
desktop-shell/shell.c