devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=199d762e570208ccf231fc083d9299b8f5711ad2

commit 199d762e570208ccf231fc083d9299b8f5711ad2
Author: Chris Michael <cp.mich...@samsung.com>
Date:   Tue Sep 29 09:56:53 2015 -0400

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

diff --git a/src/lib/ecore_wl2/Ecore_Wl2.h b/src/lib/ecore_wl2/Ecore_Wl2.h
index c779f73..14b5421 100644
--- a/src/lib/ecore_wl2/Ecore_Wl2.h
+++ b/src/lib/ecore_wl2/Ecore_Wl2.h
@@ -85,6 +85,11 @@ typedef struct _Ecore_Wl2_Event_Dnd_Drop
    int x, y;
 } Ecore_Wl2_Event_Dnd_Drop;
 
+typedef struct _Ecore_Wl2_Event_Dnd_End
+{
+   unsigned int win, source;
+} Ecore_Wl2_Event_Dnd_End;
+
 typedef enum _Ecore_Wl2_Window_Type
 {
    ECORE_WL2_WINDOW_TYPE_NONE,
@@ -105,6 +110,7 @@ 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;
+EAPI extern int ECORE_WL2_EVENT_DND_END;
 
 /**
  * @file
@@ -404,6 +410,7 @@ EAPI void ecore_wl2_window_maximized_set(Ecore_Wl2_Window 
*window, Eina_Bool max
 /* TODO: doxy */
 EAPI Eina_Bool ecore_wl2_window_fullscreen_get(Ecore_Wl2_Window *window);
 
+/* TODO: doxy */
 EAPI void ecore_wl2_window_fullscreen_set(Ecore_Wl2_Window *window, Eina_Bool 
fullscreen);
 
 /* TODO: doxy */
@@ -430,6 +437,7 @@ EAPI void ecore_wl2_window_iconified_set(Ecore_Wl2_Window 
*window, Eina_Bool ico
 /* TODO: doxy */
 EAPI void ecore_wl2_window_pointer_xy_get(Ecore_Wl2_Window *window, int *x, 
int *y);
 
+/* TODO: doxy */
 EAPI void ecore_wl2_window_pointer_set(Ecore_Wl2_Window *window, struct 
wl_surface *surface, int hot_x, int hot_y);
 
 /* # ifdef __cplusplus */
diff --git a/src/lib/ecore_wl2/ecore_wl2.c b/src/lib/ecore_wl2/ecore_wl2.c
index 06dd669..0b8f696 100644
--- a/src/lib/ecore_wl2/ecore_wl2.c
+++ b/src/lib/ecore_wl2/ecore_wl2.c
@@ -19,6 +19,7 @@ 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;
+EAPI int ECORE_WL2_EVENT_DND_END = 0;
 
 static void
 _cb_wl_log_print(const char *format, va_list args)
@@ -69,6 +70,7 @@ ecore_wl2_init(void)
         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();
+        ECORE_WL2_EVENT_DND_END = ecore_event_type_new();
      }
 
    wl_log_set_handler_server(_cb_wl_log_print);

-- 


Reply via email to