aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-05-22 20:24:05 -0400
committerDavid Robillard <d@drobilla.net>2023-11-11 09:47:23 -0500
commit32733abab8546b708cab59a4df09f92eb3214f73 (patch)
treeb6bed60281f9dd3b71006b7cb7aa7ab056d6a70c /examples
parent61980dbb9e6968f9d99df9cbd4bbe2f46f0c5050 (diff)
downloadpugl-32733abab8546b708cab59a4df09f92eb3214f73.tar.gz
pugl-32733abab8546b708cab59a4df09f92eb3214f73.tar.bz2
pugl-32733abab8546b708cab59a4df09f92eb3214f73.zip
Add region parameter to puglAcceptOffer()
Diffstat (limited to 'examples')
-rw-r--r--examples/pugl_clipboard_demo.c2
1 files changed, 1 insertions, 1 deletions
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;
}
}