aboutsummaryrefslogtreecommitdiffstats
path: root/examples/pugl_clipboard_demo.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/pugl_clipboard_demo.c')
-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 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;
}
}