From: Chris Michael Date: Thu, 13 Aug 2015 14:33:48 +0000 (-0400) Subject: enlightenment: Replace old comp_type conditionals X-Git-Tag: upstream/0.20.0~371 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e31441bb48a7731ebaeb23688597490ea9ed0780;p=platform%2Fupstream%2Fenlightenment.git enlightenment: Replace old comp_type conditionals Signed-off-by: Chris Michael --- diff --git a/src/bin/e_dnd.c b/src/bin/e_dnd.c index 7a2324b..ea1a03e 100644 --- a/src/bin/e_dnd.c +++ b/src/bin/e_dnd.c @@ -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;