data-device: Only send out NULL selection if we have a resource
authorKristian Høgsberg <krh@bitplanet.net>
Fri, 1 Jun 2012 03:26:50 +0000 (23:26 -0400)
committerKristian Høgsberg <krh@bitplanet.net>
Fri, 1 Jun 2012 03:26:50 +0000 (23:26 -0400)
commit8f63e8013bba6fea9562339c2ed8b3eb1c8e3138
treeca8a783141cd9ba6b90784b487ab989593a5a0a8
parentcfd56ed4bc4ca8d0cd642228aff8c21c4b1a357c
data-device: Only send out NULL selection if we have a resource

If the current keyboard focus client doesn't have a resource for the
data_device, don't send out the selection event.
src/data-device.c