Dear developers.

I add "ATOM" handling to elm_cnp_helper. It's useful to opera users.
It seems opera dosen't compliant ICCCM (2. Peer-to-Peer Communication by
Means of Selections)
ICCCM section 2 described that "TARGETS" is a list of valid target atom
But Opera just send "ATOM". 

I can't find why Opera does. If anyone know about it, please let me know.

Anyway, Thanks for review.

PS: I especially thanks to discomfitor. ;)

Index: src/lib/elm_cnp_helper.c
===================================================================
--- src/lib/elm_cnp_helper.c    (由щ퉬�쟾 63638)
+++ src/lib/elm_cnp_helper.c    (�옉�뾽 �궗蹂�)
@@ -32,6 +32,7 @@
 enum
 {
    CNP_ATOM_TARGETS = 0,
+   CNP_ATOM_ATOM,
    CNP_ATOM_text_uri,
    CNP_ATOM_text_urilist,
    CNP_ATOM_text_x_vcard,
@@ -170,6 +171,14 @@
           notify_handler_targets,
           0
      },
+     [CNP_ATOM_ATOM] = {
+          "ATOM",
+          (Elm_Sel_Format) -1, // everything
+          targets_converter,
+          response_handler_targets,
+          notify_handler_targets,
+          0
+     },
      [CNP_ATOM_XELM] =  {
           "application/x-elementary-markup",
           ELM_SEL_FORMAT_MARKUP,
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to