Dear EFL developers,

I am currently working on implementation of a clipboard for WebKit-EFL. 
WebKit?s architecture and test framework requires that system clipboard has to 
work synchronously. Elementary paste implementation (elm_cnp_selection_get) 
works asynchronously returning data using paste callback passed as one of 
elm_cnp_selection_get function.
An introduction of nested main loop will help making clipboard in WebKit-EFL 
work synchronously (more or less similar mechanism is used in GTK+ WebKit 
port), but the main problem is that elementary clipboard does not return paste 
callback if selection does not contain any data.
Currently when ecore_x_window_prop_property_get function is called asking for 
AnyProperty it returns 0 if there is no data (number of items stored equals 0). 
This causes ecore_x_event_handle_selection_notify to exit before 
SelectionNotify event is added and eventually elementary paste callback is not 
fired.
My patch removes this condition and changes behaviour of this function by 
allowing to add SelectionNotify event even if data returned is empty.


BR,
Michal

Attachment: 0001-PATCH-ecore_x-Modify-_ecore_x_event_handle_selection.patch
Description: Binary data

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to