devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=25f199969c0723d439dfa2380b5b7f488c8c780b

commit 25f199969c0723d439dfa2380b5b7f488c8c780b
Author: Chris Michael <cp.mich...@samsung.com>
Date:   Fri Sep 25 10:47:46 2015 -0400

    ecore-wl2: Add dnd drop event type and event structure
    
    Signed-off-by: Chris Michael <cp.mich...@samsung.com>
---
 src/lib/ecore_wl2/Ecore_Wl2.h | 7 +++++++
 src/lib/ecore_wl2/ecore_wl2.c | 2 ++
 2 files changed, 9 insertions(+)

diff --git a/src/lib/ecore_wl2/Ecore_Wl2.h b/src/lib/ecore_wl2/Ecore_Wl2.h
index 3af9273..871eab6 100644
--- a/src/lib/ecore_wl2/Ecore_Wl2.h
+++ b/src/lib/ecore_wl2/Ecore_Wl2.h
@@ -79,6 +79,12 @@ typedef struct _Ecore_Wl2_Event_Dnd_Motion
    int x, y;
 } Ecore_Wl2_Event_Dnd_Motion;
 
+typedef struct _Ecore_Wl2_Event_Dnd_Drop
+{
+   unsigned int win, source;
+   int x, y;
+} Ecore_Wl2_Event_Dnd_Drop;
+
 typedef enum _Ecore_Wl2_Window_Type
 {
    ECORE_WL2_WINDOW_TYPE_NONE,
@@ -98,6 +104,7 @@ EAPI extern int ECORE_WL2_EVENT_FOCUS_OUT;
 EAPI extern int ECORE_WL2_EVENT_DND_ENTER;
 EAPI extern int ECORE_WL2_EVENT_DND_LEAVE;
 EAPI extern int ECORE_WL2_EVENT_DND_MOTION;
+EAPI extern int ECORE_WL2_EVENT_DND_DROP;
 
 /**
  * @file
diff --git a/src/lib/ecore_wl2/ecore_wl2.c b/src/lib/ecore_wl2/ecore_wl2.c
index 9ab17de..06dd669 100644
--- a/src/lib/ecore_wl2/ecore_wl2.c
+++ b/src/lib/ecore_wl2/ecore_wl2.c
@@ -18,6 +18,7 @@ EAPI int ECORE_WL2_EVENT_FOCUS_OUT = 0;
 EAPI int ECORE_WL2_EVENT_DND_ENTER = 0;
 EAPI int ECORE_WL2_EVENT_DND_LEAVE = 0;
 EAPI int ECORE_WL2_EVENT_DND_MOTION = 0;
+EAPI int ECORE_WL2_EVENT_DND_DROP = 0;
 
 static void
 _cb_wl_log_print(const char *format, va_list args)
@@ -67,6 +68,7 @@ ecore_wl2_init(void)
         ECORE_WL2_EVENT_DND_ENTER = ecore_event_type_new();
         ECORE_WL2_EVENT_DND_LEAVE = ecore_event_type_new();
         ECORE_WL2_EVENT_DND_MOTION = ecore_event_type_new();
+        ECORE_WL2_EVENT_DND_DROP = ecore_event_type_new();
      }
 
    wl_log_set_handler_server(_cb_wl_log_print);

-- 


Reply via email to