From 091a547a481fc5fb4698303520970ecbed19bd3f Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 4 Jan 2023 09:46:56 -0500 Subject: Improve reliability of remote copy/paste test Things tend to stall when the two windows exactly overlap each other, which is itself probably a bug of some sort, but that's an unusual situation and not what this test is about. --- test/test_remote_copy_paste.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test') diff --git a/test/test_remote_copy_paste.c b/test/test_remote_copy_paste.c index 9d385ad..828992d 100644 --- a/test/test_remote_copy_paste.c +++ b/test/test_remote_copy_paste.c @@ -148,6 +148,7 @@ main(int argc, char** argv) puglSetHandle(app.copierView, &app); puglSetEventFunc(app.copierView, onCopierEvent); puglSetSizeHint(app.copierView, PUGL_DEFAULT_SIZE, 256, 256); + puglSetPosition(app.copierView, 128, 128); // Set up paster view app.pasterView = puglNewView(app.world); @@ -157,6 +158,7 @@ main(int argc, char** argv) puglSetHandle(app.pasterView, &app); puglSetEventFunc(app.pasterView, onPasterEvent); puglSetSizeHint(app.pasterView, PUGL_DEFAULT_SIZE, 256, 256); + puglSetPosition(app.pasterView, 512, 512); // Create and show both views assert(!puglShow(app.copierView)); -- cgit v1.2.1