From: Seunghun Lee Date: Thu, 11 May 2023 05:46:27 +0000 (+0900) Subject: drag: Fix wrong error check X-Git-Tag: accepted/tizen/unified/20230720.164642~35 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=97e09c72831d654e163bd9690b195dddb1291476;p=platform%2Fcore%2Fuifw%2Flibds.git drag: Fix wrong error check That was a mistake made by commit 3f83416b. Change-Id: I2431b9f9a0d5dd6ba1eddb1635d9c8e172c6ec82 --- diff --git a/src/data_device/drag.c b/src/data_device/drag.c index cd7cddf..be4689d 100644 --- a/src/data_device/drag.c +++ b/src/data_device/drag.c @@ -580,7 +580,7 @@ drag_enter(struct ds_drag *drag, struct ds_surface *surface, if (!data_device) return; - if (data_device_send_drag_enter(data_device, drag->source, + if (!data_device_send_drag_enter(data_device, drag->source, surface_resource, sx, sy)) { return; }