aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/test_local_copy_paste.c3
-rw-r--r--test/test_remote_copy_paste.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/test/test_local_copy_paste.c b/test/test_local_copy_paste.c
index 9aa4cba..20332d1 100644
--- a/test/test_local_copy_paste.c
+++ b/test/test_local_copy_paste.c
@@ -98,7 +98,8 @@ onEvent(PuglView* view, const PuglEvent* event)
if (test->state == PASTED) {
test->state = RECEIVED_OFFER;
- assert(!puglAcceptOffer(view, &event->offer, 0, puglGetFrame(view)));
+ assert(!puglAcceptOffer(
+ view, &event->offer, 0, PUGL_ACTION_COPY, puglGetFrame(view)));
}
break;
diff --git a/test/test_remote_copy_paste.c b/test/test_remote_copy_paste.c
index de5a61b..e6464d8 100644
--- a/test/test_remote_copy_paste.c
+++ b/test/test_remote_copy_paste.c
@@ -108,7 +108,8 @@ onPasterEvent(PuglView* const view, const PuglEvent* const event)
if (test->state == PASTED) {
test->state = RECEIVED_OFFER;
- assert(!puglAcceptOffer(view, &event->offer, 0, puglGetFrame(view)));
+ assert(!puglAcceptOffer(
+ view, &event->offer, 0, PUGL_ACTION_COPY, puglGetFrame(view)));
}
break;