diff options
| author | Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com> | 2012-05-25 10:40:28 +0300 |
|---|---|---|
| committer | Kristian Høgsberg <krh@bitplanet.net> | 2012-05-25 23:10:01 -0400 |
| commit | d422a733b4c20a65748c8d9e811f672a2d744218 (patch) | |
| tree | 2716a0f3d0a87e4a0dd53e1931a4fab6679dbc56 /src | |
| parent | wayland-cursor: load all cursors from a theme on wl_cursor_theme_load (diff) | |
| download | wayland-d422a733b4c20a65748c8d9e811f672a2d744218.tar wayland-d422a733b4c20a65748c8d9e811f672a2d744218.tar.gz wayland-d422a733b4c20a65748c8d9e811f672a2d744218.tar.bz2 wayland-d422a733b4c20a65748c8d9e811f672a2d744218.tar.lz wayland-d422a733b4c20a65748c8d9e811f672a2d744218.tar.xz wayland-d422a733b4c20a65748c8d9e811f672a2d744218.tar.zst wayland-d422a733b4c20a65748c8d9e811f672a2d744218.zip | |
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.
Diffstat (limited to 'src')
| -rw-r--r-- | src/data-device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/data-device.c b/src/data-device.c index 8472da4..a7fc6d2 100644 --- a/src/data-device.c +++ b/src/data-device.c @@ -284,7 +284,7 @@ static void destroy_data_device_icon(struct wl_listener *listener, void *data) { struct wl_seat *seat = container_of(listener, struct wl_seat, - drag_data_source_listener); + drag_icon_listener); seat->drag_surface = NULL; } |
