enlightenment: Replace old comp_type conditionals

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2015-08-13 10:33:48 -04:00
parent 2f1d32a081
commit e31441bb48
1 changed files with 1 additions and 1 deletions

View File

@ -1219,7 +1219,7 @@ _e_dnd_cb_mouse_move(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
_e_drag_update(_drag_win_root, ev->x, ev->y,
_action ?: ECORE_X_ATOM_XDND_ACTION_PRIVATE);
# ifdef HAVE_WAYLAND
if ((e_comp->comp_type == E_PIXMAP_TYPE_WL) && e_comp_util_has_x())
if (e_comp_util_has_xwayland())
{
if (e_comp->wl_comp_data->drag != _drag_current) return ECORE_CALLBACK_RENEW;
if (!e_comp->wl_comp_data->ptr.ec) return ECORE_CALLBACK_RENEW;