summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2012-05-31 23:28:31 -0400
committerKristian Høgsberg <krh@bitplanet.net>2012-05-31 23:28:31 -0400
commit0527ad8f001b9286ff3a5cb40c51345c3b56fd38 (patch)
tree160bb44c5162332a3993ef0097a85c8c49faac7f
parent8f63e8013bba6fea9562339c2ed8b3eb1c8e3138 (diff)
data-device: Emit selection_signal also when we lose the selection
-rw-r--r--src/data-device.c2
1 files changed, 2 insertions, 0 deletions
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