Function wlc_sys_with_elogind::wlc_get_selection_data [] [src]

pub unsafe extern "C" fn wlc_get_selection_data(
    mime_type: *const c_char,
    fd: c_int
) -> bool

Asks the current selection to write its data with the given mime type to the given fd * and close the fd afterwards. Returns false if there is no current selection, does * not close the fd in this case. * mime_type should be a type supported by the selection