aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--examples/pugl_cairo_demo.c2
-rw-r--r--examples/pugl_clipboard_demo.c2
-rw-r--r--examples/pugl_cursor_demo.c2
-rw-r--r--examples/pugl_embed_demo.c4
-rw-r--r--examples/pugl_management_demo.c4
-rw-r--r--examples/pugl_print_events.c2
-rw-r--r--examples/pugl_shader_demo.c2
-rw-r--r--examples/pugl_vulkan_demo.c2
-rw-r--r--examples/pugl_window_demo.c2
9 files changed, 11 insertions, 11 deletions
diff --git a/examples/pugl_cairo_demo.c b/examples/pugl_cairo_demo.c
index 3192183..f580540 100644
--- a/examples/pugl_cairo_demo.c
+++ b/examples/pugl_cairo_demo.c
@@ -230,7 +230,7 @@ main(int argc, char** argv)
return logError("Failed to create window (%s)\n", puglStrerror(st));
}
- puglShow(view, PUGL_SHOW_PASSIVE);
+ puglShow(view, PUGL_SHOW_RAISE);
PuglFpsPrinter fpsPrinter = {puglGetTime(app.world)};
const double timeout = app.opts.continuous ? (1 / 60.0) : -1.0;
diff --git a/examples/pugl_clipboard_demo.c b/examples/pugl_clipboard_demo.c
index 31bc7f6..d4ab50f 100644
--- a/examples/pugl_clipboard_demo.c
+++ b/examples/pugl_clipboard_demo.c
@@ -237,7 +237,7 @@ main(int argc, char** argv)
return logError("Failed to realize view (%s)\n", puglStrerror(st));
}
- if ((st = puglShow(view, PUGL_SHOW_PASSIVE))) {
+ if ((st = puglShow(view, PUGL_SHOW_RAISE))) {
return logError("Failed to show view (%s)\n", puglStrerror(st));
}
diff --git a/examples/pugl_cursor_demo.c b/examples/pugl_cursor_demo.c
index 230bf08..9aa0301 100644
--- a/examples/pugl_cursor_demo.c
+++ b/examples/pugl_cursor_demo.c
@@ -143,7 +143,7 @@ main(int argc, char** argv)
return logError("Failed to create window (%s)\n", puglStrerror(st));
}
- puglShow(view, PUGL_SHOW_PASSIVE);
+ puglShow(view, PUGL_SHOW_RAISE);
while (!app.quit) {
puglUpdate(app.world, -1.0);
diff --git a/examples/pugl_embed_demo.c b/examples/pugl_embed_demo.c
index 3b80110..7efba81 100644
--- a/examples/pugl_embed_demo.c
+++ b/examples/pugl_embed_demo.c
@@ -304,8 +304,8 @@ main(int argc, char** argv)
return logError("Failed to create child window (%s)\n", puglStrerror(st));
}
- puglShow(app.parent, PUGL_SHOW_PASSIVE);
- puglShow(app.child, PUGL_SHOW_PASSIVE);
+ puglShow(app.parent, PUGL_SHOW_RAISE);
+ puglShow(app.child, PUGL_SHOW_RAISE);
puglStartTimer(app.child, reverseTimerId, 3.6);
diff --git a/examples/pugl_management_demo.c b/examples/pugl_management_demo.c
index 87b4e09..ec2805b 100644
--- a/examples/pugl_management_demo.c
+++ b/examples/pugl_management_demo.c
@@ -121,7 +121,7 @@ toggleDialog(DemoApp* const app)
puglSetWindowTitle(app->dialogView.view, "Dialog");
}
- return puglShow(app->dialogView.view, PUGL_SHOW_PASSIVE);
+ return puglShow(app->dialogView.view, PUGL_SHOW_RAISE);
}
static PuglStatus
@@ -250,7 +250,7 @@ main(int argc, char** argv)
return logError("Failed to realize view (%s)\n", puglStrerror(st));
}
- puglShow(app.mainView.view, PUGL_SHOW_PASSIVE);
+ puglShow(app.mainView.view, PUGL_SHOW_RAISE);
while (!app.quit) {
puglUpdate(app.world, -1.0);
diff --git a/examples/pugl_print_events.c b/examples/pugl_print_events.c
index a9fa945..c2b1512 100644
--- a/examples/pugl_print_events.c
+++ b/examples/pugl_print_events.c
@@ -53,7 +53,7 @@ main(void)
return logError("Failed to create window (%s)\n", puglStrerror(st));
}
- puglShow(app.view, PUGL_SHOW_PASSIVE);
+ puglShow(app.view, PUGL_SHOW_RAISE);
while (!app.quit) {
puglUpdate(app.world, -1.0);
diff --git a/examples/pugl_shader_demo.c b/examples/pugl_shader_demo.c
index 02290da..6c2fcd6 100644
--- a/examples/pugl_shader_demo.c
+++ b/examples/pugl_shader_demo.c
@@ -464,7 +464,7 @@ main(int argc, char** argv)
// Show window
printViewHints(app.view);
- puglShow(app.view, PUGL_SHOW_PASSIVE);
+ puglShow(app.view, PUGL_SHOW_RAISE);
// Grind away, drawing continuously
const double startTime = puglGetTime(app.world);
diff --git a/examples/pugl_vulkan_demo.c b/examples/pugl_vulkan_demo.c
index 5fe7100..c12c390 100644
--- a/examples/pugl_vulkan_demo.c
+++ b/examples/pugl_vulkan_demo.c
@@ -1101,7 +1101,7 @@ main(int argc, char** argv)
printf("Swapchain images: %u\n", app.vk.swapchain->nImages);
PuglFpsPrinter fpsPrinter = {puglGetTime(app.world)};
- puglShow(app.view, PUGL_SHOW_PASSIVE);
+ puglShow(app.view, PUGL_SHOW_RAISE);
while (!app.quit) {
puglUpdate(app.world, -1.0);
diff --git a/examples/pugl_window_demo.c b/examples/pugl_window_demo.c
index c672780..d401c67 100644
--- a/examples/pugl_window_demo.c
+++ b/examples/pugl_window_demo.c
@@ -213,7 +213,7 @@ main(int argc, char** argv)
return logError("Failed to create window (%s)\n", puglStrerror(st));
}
- puglShow(view, PUGL_SHOW_PASSIVE);
+ puglShow(view, PUGL_SHOW_RAISE);
}
PuglFpsPrinter fpsPrinter = {puglGetTime(app.world)};