From 32733abab8546b708cab59a4df09f92eb3214f73 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 22 May 2022 20:24:05 -0400 Subject: Add region parameter to puglAcceptOffer() --- examples/pugl_clipboard_demo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples') diff --git a/examples/pugl_clipboard_demo.c b/examples/pugl_clipboard_demo.c index efeb1eb..f43d729 100644 --- a/examples/pugl_clipboard_demo.c +++ b/examples/pugl_clipboard_demo.c @@ -89,7 +89,7 @@ onDataOffer(PuglView* view, const PuglDataOfferEvent* event) for (uint32_t t = 0; t < numTypes; ++t) { const char* type = puglGetClipboardType(view, t); if (!strncmp(type, "text/", 5)) { - puglAcceptOffer(view, event, t); + puglAcceptOffer(view, event, t, puglGetFrame(view)); return; } } -- cgit v1.2.1