summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2013-11-23 22:45:15 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2013-11-23 22:45:15 +0900
commit52c9414e6fd5cd904b3c83a5264d25bb5f8658e9 (patch)
tree93f9dc4df729ff4c08daf76d95a1e85778e827a6 /src
parent373c10b189e5791cb83f0c51f59609ca910cea82 (diff)
wayland - fix cnp segv
this ACTUALLY fixes T471
Diffstat (limited to 'src')
-rw-r--r--src/lib/elm_cnp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/elm_cnp.c b/src/lib/elm_cnp.c
index d64b248f9..b9543ffea 100644
--- a/src/lib/elm_cnp.c
+++ b/src/lib/elm_cnp.c
@@ -2689,14 +2689,13 @@ _wl_elm_drag_start(Evas_Object *obj, Elm_Sel_Format format EINA_UNUSED, const ch
2689 Ecore_Evas *ee; 2689 Ecore_Evas *ee;
2690 Evas_Object *icon = NULL; 2690 Evas_Object *icon = NULL;
2691 int x, y, x2 = 0, y2 = 0, x3, y3, w = 0, h = 0; 2691 int x, y, x2 = 0, y2 = 0, x3, y3, w = 0, h = 0;
2692 const char *types[1] = { 0, }; 2692 const char *types[2] = { "text/uri-list", NULL };
2693 2693
2694 _wl_elm_dnd_init(); 2694 _wl_elm_dnd_init();
2695 2695
2696 /* if we already have a drag, get out */ 2696 /* if we already have a drag, get out */
2697 if (dragwin) return EINA_FALSE; 2697 if (dragwin) return EINA_FALSE;
2698 2698
2699 types[0] = "text/uri-list";
2700 ecore_wl_dnd_drag_types_set(ecore_wl_input_get(), types); 2699 ecore_wl_dnd_drag_types_set(ecore_wl_input_get(), types);
2701 2700
2702 /* set the drag data used when a drop occurs */ 2701 /* set the drag data used when a drop occurs */