devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=60aee3e03c6b9faf1f1731756d91e3147a3e5bce

commit 60aee3e03c6b9faf1f1731756d91e3147a3e5bce
Author: Chris Michael <cp.mich...@samsung.com>
Date:   Fri Sep 25 10:37:06 2015 -0400

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

diff --git a/src/lib/ecore_wl2/Ecore_Wl2.h b/src/lib/ecore_wl2/Ecore_Wl2.h
index 90e65c2..ef6ccd1 100644
--- a/src/lib/ecore_wl2/Ecore_Wl2.h
+++ b/src/lib/ecore_wl2/Ecore_Wl2.h
@@ -68,6 +68,11 @@ typedef struct _Ecore_Wl2_Event_Dnd_Enter
    struct wl_data_offer *offer;
 } Ecore_Wl2_Event_Dnd_Enter;
 
+typedef struct _Ecore_Wl2_Event_Dnd_Leave
+{
+   unsigned int win, source;
+} Ecore_Wl2_Event_Dnd_Leave;
+
 typedef enum _Ecore_Wl2_Window_Type
 {
    ECORE_WL2_WINDOW_TYPE_NONE,
@@ -85,6 +90,7 @@ EAPI extern int ECORE_WL2_EVENT_GLOBAL_REMOVED;
 EAPI extern int ECORE_WL2_EVENT_FOCUS_IN;
 EAPI extern int ECORE_WL2_EVENT_FOCUS_OUT;
 EAPI extern int ECORE_WL2_EVENT_DND_ENTER;
+EAPI extern int ECORE_WL2_EVENT_DND_LEAVE;
 
 /**
  * @file
diff --git a/src/lib/ecore_wl2/ecore_wl2.c b/src/lib/ecore_wl2/ecore_wl2.c
index dd8cdef..d291b39 100644
--- a/src/lib/ecore_wl2/ecore_wl2.c
+++ b/src/lib/ecore_wl2/ecore_wl2.c
@@ -16,6 +16,7 @@ EAPI int ECORE_WL2_EVENT_GLOBAL_REMOVED = 0;
 EAPI int ECORE_WL2_EVENT_FOCUS_IN = 0;
 EAPI int ECORE_WL2_EVENT_FOCUS_OUT = 0;
 EAPI int ECORE_WL2_EVENT_DND_ENTER = 0;
+EAPI int ECORE_WL2_EVENT_DND_LEAVE = 0;
 
 static void
 _cb_wl_log_print(const char *format, va_list args)
@@ -63,6 +64,7 @@ ecore_wl2_init(void)
         ECORE_WL2_EVENT_FOCUS_IN = ecore_event_type_new();
         ECORE_WL2_EVENT_FOCUS_OUT = ecore_event_type_new();
         ECORE_WL2_EVENT_DND_ENTER = ecore_event_type_new();
+        ECORE_WL2_EVENT_DND_LEAVE = ecore_event_type_new();
      }
 
    wl_log_set_handler_server(_cb_wl_log_print);

-- 


Reply via email to