handle drag-and-drop events as ACTION_SEND Intents

This commit is contained in:
Julian Winkler
2025-07-14 12:25:04 +02:00
parent 0064677755
commit b7843665ef
5 changed files with 56 additions and 0 deletions

View File

@@ -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)