commit | fe0444a9a9c4bc36cc1e3d0e99f4043f96e0d155 | [log] [tgz] |
---|---|---|
author | Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com> | Wed Apr 04 17:48:05 2012 +0300 |
committer | Kristian Høgsberg <krh@bitplanet.net> | Tue Apr 10 01:40:11 2012 -0400 |
tree | b922f185ae696360cdb0cd9a4aaf9d0a4a3b64d2 | |
parent | ba25bd7be1ea9fbf1862dd662b80ddd7753ed4ce [diff] |
shell: handle surface destruction during move, resize and rotate grabs When the surface being moved, resized or rotated was destroyed, the compositor would crash. Fix this by using a destroy listener on the referenced surface. To reduce code duplication, the surface reference and the destroy listener is added to a new struct shell_grab.