bu5hm4n pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=6e85742b42431d097e07b4b8bcdb891d0aa4123a

commit 6e85742b42431d097e07b4b8bcdb891d0aa4123a
Author: Marcel Hollerbach <m...@marcel-hollerbach.de>
Date:   Fri Sep 4 18:22:49 2020 +0200

    ecore_evas_x: reply in *any* way with XdndStatus
    
    otherwise Xorg stops sometimes to continue sending callbacks to us.
    Which results in a broken state maschine.
---
 src/modules/ecore_evas/engines/x/ecore_evas_x.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/modules/ecore_evas/engines/x/ecore_evas_x.c 
b/src/modules/ecore_evas/engines/x/ecore_evas_x.c
index c73e530425..bb5f02c853 100644
--- a/src/modules/ecore_evas/engines/x/ecore_evas_x.c
+++ b/src/modules/ecore_evas/engines/x/ecore_evas_x.c
@@ -4196,8 +4196,7 @@ _ecore_evas_x_dnd_position(void *udata EINA_UNUSED, int 
type EINA_UNUSED, void *
    EINA_SAFETY_ON_NULL_GOTO(ee, end);
    ecore_evas_geometry_get(ee, &x, &y, &w, &h);
    Eina_Bool used = ecore_evas_dnd_position_set(ee, 1, 
EINA_POSITION2D(pos->position.x - x, pos->position.y - y));
-   if (used)
-     ecore_x_dnd_send_status(EINA_TRUE, EINA_FALSE, 
(Ecore_X_Rectangle){x,y,w,h}, pos->action);
+   ecore_x_dnd_send_status(used, EINA_FALSE, (Ecore_X_Rectangle){x,y,w,h}, 
pos->action);
 end:
    return ECORE_CALLBACK_PASS_ON;
 }

-- 


Reply via email to