summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/elm_cnp.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/elm_cnp.c b/src/lib/elm_cnp.c
index f6b3599a8..97696a40e 100644
--- a/src/lib/elm_cnp.c
+++ b/src/lib/elm_cnp.c
@@ -2370,7 +2370,7 @@ _wl_elm_drag_start(Evas_Object *obj, Elm_Sel_Format format EINA_UNUSED, const ch
2370{ 2370{
2371 Ecore_Evas *ee; 2371 Ecore_Evas *ee;
2372 Evas_Object *icon = NULL; 2372 Evas_Object *icon = NULL;
2373 int x, y, x2 = 0, y2 = 0, x3, y3, w, h; 2373 int x, y, x2 = 0, y2 = 0, x3, y3, w = 0, h = 0;
2374 const char *types[1] = { 0, }; 2374 const char *types[1] = { 0, };
2375 2375
2376 _wl_elm_dnd_init(); 2376 _wl_elm_dnd_init();
@@ -2465,12 +2465,11 @@ static Eina_Bool
2465_wl_dnd_enter(void *data EINA_UNUSED, int type EINA_UNUSED, void *event) 2465_wl_dnd_enter(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
2466{ 2466{
2467 Ecore_Wl_Event_Dnd_Enter *ev; 2467 Ecore_Wl_Event_Dnd_Enter *ev;
2468 Dropable *drop;
2469 int i = 0; 2468 int i = 0;
2470 2469
2471 ev = event; 2470 ev = event;
2472 2471
2473 if ((drop = _wl_dropable_find(ev->win))) 2472 if (_wl_dropable_find(ev->win))
2474 _wl_dropable_all_set(ev->win, 0, 0, EINA_FALSE); 2473 _wl_dropable_all_set(ev->win, 0, 0, EINA_FALSE);
2475 2474
2476 if ((!ev->num_types) || (!ev->types)) return ECORE_CALLBACK_PASS_ON; 2475 if ((!ev->num_types) || (!ev->types)) return ECORE_CALLBACK_PASS_ON;