Product SiteDocumentation Site

A.7.2. Events provided by wl_data_source events

A.7.2.1. wl_data_source::target - a target accepts an offered mime-type

Sent when a target accepts pointer_focus or motion events. If a target does not accept any of the offered types, type is NULL.
wl_data_source::target arguments
mime_type
Type: string