Repositories (1)

drop
1 snippets stored for this repo
void
send_selection_notify(XSelectionRequestEvent *xselectionrequest) {
    // 1 is for nullbyte, +9 is for file:// and carrage return
    // file:// is ilegal over file:/hostname/path. But fuck it we ball
    size_t property_data_size = 1;
    for(int i=0;i<source.file_paths_size;property_data_size+=strlen(source.file_paths[i])+9,i++);