aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2023-01-04 09:46:56 -0500
committerDavid Robillard <d@drobilla.net>2023-01-04 09:46:56 -0500
commit091a547a481fc5fb4698303520970ecbed19bd3f (patch)
treea6a0d53c272397e254a587af919bc2b8e34148e6
parent40659178c04539fe4c70b144592cb0ee25376492 (diff)
downloadpugl-091a547a481fc5fb4698303520970ecbed19bd3f.tar.gz
pugl-091a547a481fc5fb4698303520970ecbed19bd3f.tar.bz2
pugl-091a547a481fc5fb4698303520970ecbed19bd3f.zip
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.
-rw-r--r--test/test_remote_copy_paste.c2
1 files changed, 2 insertions, 0 deletions
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));