aboutsummaryrefslogtreecommitdiffstats
path: root/examples/pugl_window_demo.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/pugl_window_demo.c')
-rw-r--r--examples/pugl_window_demo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/pugl_window_demo.c b/examples/pugl_window_demo.c
index 1e38aa1..34471f0 100644
--- a/examples/pugl_window_demo.c
+++ b/examples/pugl_window_demo.c
@@ -222,8 +222,8 @@ main(int argc, char** argv)
puglSetEventFunc(view, onEvent);
if (i == 1) {
- puglSetTransientFor(app.cubes[1].view,
- puglGetNativeWindow(app.cubes[0].view));
+ puglSetTransientParent(app.cubes[1].view,
+ puglGetNativeWindow(app.cubes[0].view));
}
if ((st = puglRealize(view))) {