drag: Fix wrong error check 69/292669/1
authorSeunghun Lee <shiin.lee@samsung.com>
Thu, 11 May 2023 05:46:27 +0000 (14:46 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Thu, 11 May 2023 06:03:08 +0000 (15:03 +0900)
That was a mistake made by commit 3f83416b.

Change-Id: I2431b9f9a0d5dd6ba1eddb1635d9c8e172c6ec82

src/data_device/drag.c

index cd7cddf..be4689d 100644 (file)
@@ -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;
         }