summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2017-06-29 13:05:23 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2017-06-29 13:05:23 -0400
commit282257d5432b932af7dd75e228ffc68e22e5214a (patch)
tree1c2838bb27b7401dbb5f681ec4e8c28044bbf2ab
parentcc13549e8b7cf206c0947fddd35c1615f7e24f14 (diff)
wip
-rw-r--r--x11.x4
1 files changed, 2 insertions, 2 deletions
diff --git a/x11.x b/x11.x
index fc5d0bf..93019a6 100644
--- a/x11.x
+++ b/x11.x
@@ -460,14 +460,14 @@ x11_dnd_mouse_up(void *d EINA_UNUSED, int t EINA_UNUSED, Ecore_Event_Mouse_Butto
460 460
461 EINA_LIST_FOREACH(comps, l, c) 461 EINA_LIST_FOREACH(comps, l, c)
462 { 462 {
463 Ecore_Window win = elm_win_xwindow_get(elm_win_get(c->obj)); 463 Ecore_Window win = ecore_evas_window_get(ecore_evas_ecore_evas_get(c->evas));
464 if (win != ev->event_window) continue; 464 if (win != ev->event_window) continue;
465 EINA_INLIST_FOREACH(c->seats, s) 465 EINA_INLIST_FOREACH(c->seats, s)
466 if (s->drag.id == ev->buttons) 466 if (s->drag.id == ev->buttons)
467 { 467 {
468 ecore_x_dnd_self_drop(); 468 ecore_x_dnd_self_drop();
469 ecore_x_pointer_ungrab(); 469 ecore_x_pointer_ungrab();
470 evas_object_del(s->drag.proxy_win); 470 ecore_evas_free(s->drag.proxy_win);
471 } 471 }
472 } 472 }
473 return ECORE_CALLBACK_RENEW; 473 return ECORE_CALLBACK_RENEW;