data-device: fix crash when a client dies during a drag with an icon
authorAnder Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
Fri, 25 May 2012 07:40:28 +0000 (10:40 +0300)
committerKristian Høgsberg <krh@bitplanet.net>
Sat, 26 May 2012 03:10:01 +0000 (23:10 -0400)
commitd422a733b4c20a65748c8d9e811f672a2d744218
tree2716a0f3d0a87e4a0dd53e1931a4fab6679dbc56
parentc66f26024b8ddc7b4b00b81e37945ad86b1a1fd8
data-device: fix crash when a client dies during a drag with an icon

The commit that split wl_input_device into wl_seat and friends changed
erroneously the drag icon destroy listener, causing it to operate into
an invalid pointer to a wl_seat.
src/data-device.c