From 91051e9059b67b8d633e385afb48a36d4f9467ba Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 22 May 2022 18:26:35 -0400 Subject: Add action parameter to puglAcceptOffer() --- examples/pugl_clipboard_demo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/pugl_clipboard_demo.c') diff --git a/examples/pugl_clipboard_demo.c b/examples/pugl_clipboard_demo.c index ba691cf..08227d1 100644 --- a/examples/pugl_clipboard_demo.c +++ b/examples/pugl_clipboard_demo.c @@ -94,7 +94,7 @@ onDataOffer(PuglView* view, const PuglDataOfferEvent* event) for (uint32_t t = 0; t < numTypes; ++t) { const char* type = puglGetClipboardType(view, clipboard, t); if (!strncmp(type, "text/", 5)) { - puglAcceptOffer(view, event, t, puglGetFrame(view)); + puglAcceptOffer(view, event, t, PUGL_ACTION_LINK, puglGetFrame(view)); return; } } -- cgit v1.2.1