remove ifdef's for compiling out e_dnd support in wayland-only mode

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2014-10-03 13:28:58 -04:00
parent 6dff3365e7
commit 8889a0fc1c
1 changed files with 3 additions and 4 deletions

View File

@ -2934,14 +2934,14 @@ e_client_mouse_move(E_Client *ec, Evas_Point *output)
e_object_ref(E_OBJECT(ec));
e_comp_object_frame_icon_geometry_get(ec->frame, &x, &y, &w, &h);
#ifndef HAVE_WAYLAND_ONLY
client_drag = e_drag_new(ec->zone->comp,
output->x, output->y,
drag_types, 1, ec, -1,
NULL,
_e_client_cb_drag_finished);
e_drag_resize(client_drag, w, h);
#endif
o = e_client_icon_add(ec, client_drag->evas);
if (!o)
{
@ -2949,12 +2949,11 @@ e_client_mouse_move(E_Client *ec, Evas_Point *output)
o = evas_object_rectangle_add(client_drag->evas);
evas_object_color_set(o, 255, 255, 255, 255);
}
#ifndef HAVE_WAYLAND_ONLY
e_drag_object_set(client_drag, o);
e_drag_start(client_drag,
output->x + (ec->drag.x - x),
output->y + (ec->drag.y - y));
#endif
}
ec->drag.start = 0;
}