diff options
author | David Robillard <d@drobilla.net> | 2022-05-22 18:26:35 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2023-11-11 09:54:18 -0500 |
commit | 91051e9059b67b8d633e385afb48a36d4f9467ba (patch) | |
tree | 0d221ea736e27dec7f405acfe2b866b4f81398e3 /examples/pugl_clipboard_demo.c | |
parent | c59e88aa6fa60c6f7424da737fcaf0496a0bf3d6 (diff) | |
download | pugl-91051e9059b67b8d633e385afb48a36d4f9467ba.tar.gz pugl-91051e9059b67b8d633e385afb48a36d4f9467ba.tar.bz2 pugl-91051e9059b67b8d633e385afb48a36d4f9467ba.zip |
Add action parameter to puglAcceptOffer()
Diffstat (limited to 'examples/pugl_clipboard_demo.c')
-rw-r--r-- | examples/pugl_clipboard_demo.c | 2 |
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; } } |