src/data_device.c: add dnd support for touch screen

Adding the drag and drop grab interface for touch screen in
src/data-device.c, so the server can handle touch screen
drag and drop operation.

Signed-off-by: Xiong Zhang <xiong.y.zhang@intel.com>
Reviewed-by: Kristian Hogsberg <hoegsberg@gmail.com>
This commit is contained in:
Xiong Zhang
2013-11-25 18:42:49 +08:00
committed by Kristian Høgsberg
parent 24fc228044
commit fd51e7bb57
3 changed files with 288 additions and 67 deletions
+1 -1
View File
@@ -211,7 +211,7 @@ handle_enter(struct weston_wm *wm, xcb_client_message_event_t *client_message)
}
free(reply);
weston_seat_start_drag(seat, &source->base, NULL, NULL);
weston_pointer_start_drag(seat->pointer, &source->base, NULL, NULL);
}
int