aboutsummaryrefslogtreecommitdiffstats
path: root/examples/pugl_embed_demo.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/pugl_embed_demo.c')
-rw-r--r--examples/pugl_embed_demo.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/pugl_embed_demo.c b/examples/pugl_embed_demo.c
index 94310a5..59d8e2b 100644
--- a/examples/pugl_embed_demo.c
+++ b/examples/pugl_embed_demo.c
@@ -319,7 +319,8 @@ main(int argc, char** argv)
++framesDrawn;
if (!requestedAttention && thisTime > 5.0) {
- puglRequestAttention(app.parent);
+ puglSetViewStyle(
+ app.parent, puglGetViewStyle(app.parent) | PUGL_VIEW_STYLE_DEMANDING);
requestedAttention = true;
}