summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-08-08 16:45:28 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-08-08 16:45:28 +0900
commit7f42cab29c00272e1157f6bcf804430d11ec5d2f (patch)
treeae4a37941fa740ac409ded15cbdacbd9d7dfc72d
parent4342a3f65df9fd0f20907296555ddb8e61f55891 (diff)
elm cnp - remove usless check/code according to CID 1193248
-rw-r--r--src/lib/elm_cnp.c22
1 files changed, 7 insertions, 15 deletions
diff --git a/src/lib/elm_cnp.c b/src/lib/elm_cnp.c
index 2ce7e3eab..3bd0af9a4 100644
--- a/src/lib/elm_cnp.c
+++ b/src/lib/elm_cnp.c
@@ -1704,21 +1704,13 @@ found:
1704 } 1704 }
1705 } 1705 }
1706 1706
1707 if (dropable->last.type) 1707 cnp_debug("doing a request then: %s\n", dropable->last.type);
1708 { 1708 _x11_selections[ELM_SEL_TYPE_XDND].xwin = drop->win;
1709 cnp_debug("doing a request then: %s\n", dropable->last.type); 1709 _x11_selections[ELM_SEL_TYPE_XDND].requestwidget = dropable->obj;
1710 _x11_selections[ELM_SEL_TYPE_XDND].xwin = drop->win; 1710 _x11_selections[ELM_SEL_TYPE_XDND].requestformat = dropable->last.format;
1711 _x11_selections[ELM_SEL_TYPE_XDND].requestwidget = dropable->obj; 1711 _x11_selections[ELM_SEL_TYPE_XDND].active = EINA_TRUE;
1712 _x11_selections[ELM_SEL_TYPE_XDND].requestformat = dropable->last.format; 1712 _x11_selections[ELM_SEL_TYPE_XDND].action = act;
1713 _x11_selections[ELM_SEL_TYPE_XDND].active = EINA_TRUE; 1713 ecore_x_selection_xdnd_request(drop->win, dropable->last.type);
1714 _x11_selections[ELM_SEL_TYPE_XDND].action = act;
1715
1716 ecore_x_selection_xdnd_request(drop->win, dropable->last.type);
1717 }
1718 else
1719 {
1720 cnp_debug("cannot match format\n");
1721 }
1722 return EINA_TRUE; 1714 return EINA_TRUE;
1723} 1715}
1724 1716