summaryrefslogtreecommitdiff
path: root/clients/dnd.c
diff options
context:
space:
mode:
Diffstat (limited to 'clients/dnd.c')
-rw-r--r--clients/dnd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/clients/dnd.c b/clients/dnd.c
index 3bf4b5b2..00739c31 100644
--- a/clients/dnd.c
+++ b/clients/dnd.c
@@ -483,7 +483,8 @@ dnd_touch_down_handler(struct widget *widget,
int_x = (int32_t)x;
int_y = (int32_t)y;
- create_drag_source(dnd, input, time, int_x, int_y);
+ if (create_drag_source(dnd, input, time, int_x, int_y) == 0)
+ touch_grab(input, 0);
}
static int