summaryrefslogtreecommitdiff
path: root/src/modules/ecore_evas/engines/x/ecore_evas_x.c
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2020-09-04 18:22:49 +0200
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2020-09-04 18:30:36 +0200
commit6e85742b42431d097e07b4b8bcdb891d0aa4123a (patch)
treea54a02180eed73a3eeb3cc1f3dde86568565fa51 /src/modules/ecore_evas/engines/x/ecore_evas_x.c
parent8cb57ecc1b62e3f1765692599cc1973617322898 (diff)
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.
Diffstat (limited to '')
-rw-r--r--src/modules/ecore_evas/engines/x/ecore_evas_x.c3
1 files changed, 1 insertions, 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 *
4196 EINA_SAFETY_ON_NULL_GOTO(ee, end); 4196 EINA_SAFETY_ON_NULL_GOTO(ee, end);
4197 ecore_evas_geometry_get(ee, &x, &y, &w, &h); 4197 ecore_evas_geometry_get(ee, &x, &y, &w, &h);
4198 Eina_Bool used = ecore_evas_dnd_position_set(ee, 1, EINA_POSITION2D(pos->position.x - x, pos->position.y - y)); 4198 Eina_Bool used = ecore_evas_dnd_position_set(ee, 1, EINA_POSITION2D(pos->position.x - x, pos->position.y - y));
4199 if (used) 4199 ecore_x_dnd_send_status(used, EINA_FALSE, (Ecore_X_Rectangle){x,y,w,h}, pos->action);
4200 ecore_x_dnd_send_status(EINA_TRUE, EINA_FALSE, (Ecore_X_Rectangle){x,y,w,h}, pos->action);
4201end: 4200end:
4202 return ECORE_CALLBACK_PASS_ON; 4201 return ECORE_CALLBACK_PASS_ON;
4203} 4202}