You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
handle drag-and-drop events as ACTION_SEND Intents
This commit is contained in:
@@ -158,6 +158,8 @@ static gboolean on_event(GtkEventControllerLegacy *event_controller, GdkEvent *e
|
||||
}
|
||||
|
||||
uintptr_t id = (uintptr_t)gdk_event_get_event_sequence(event);
|
||||
if (id > MAX_POINTERS-1) // sequence id is a real pointer for drag and drop events
|
||||
return false;
|
||||
|
||||
/* FIXME: this will clash with touchscreen */
|
||||
if(id == 0)
|
||||
|
||||
Reference in New Issue
Block a user