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:
committed by
Kristian Høgsberg
parent
24fc228044
commit
fd51e7bb57
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user