Re: [PATCH] shell: Fix segfault from trying to access a destroyed popup shell surface

2014-04-06 Thread Kristian Høgsberg
On Fri, Apr 04, 2014 at 05:41:24PM -0500, Bryan Cain wrote: > The shell_destroy_shell_surface function only set the backing resource to > NULL, leaving an unusable surface in the popup_grab list until the surface's > fading animation finished and it could be freed. This caused a segfault if > the s

[PATCH] shell: Fix segfault from trying to access a destroyed popup shell surface

2014-04-04 Thread Bryan Cain
The shell_destroy_shell_surface function only set the backing resource to NULL, leaving an unusable surface in the popup_grab list until the surface's fading animation finished and it could be freed. This caused a segfault if the shell tried to forcibly break the grab during that time interval due