From 0527ad8f001b9286ff3a5cb40c51345c3b56fd38 Mon Sep 17 00:00:00 2001 From: Kristian Høgsberg Date: Thu, 31 May 2012 23:28:31 -0400 Subject: data-device: Emit selection_signal also when we lose the selection --- src/data-device.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/data-device.c b/src/data-device.c index 843fcca..452dc5c 100644 --- a/src/data-device.c +++ b/src/data-device.c @@ -359,6 +359,8 @@ destroy_selection_data_source(struct wl_listener *listener, void *data) if (data_device) wl_data_device_send_selection(data_device, NULL); } + + wl_signal_emit(&seat->selection_signal, seat); } WL_EXPORT void -- cgit v1.2.3