From 4ad8621ac1d94c8e9cf88f83c46a3a70cd91212b Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 7 Jan 2023 19:27:14 -0500 Subject: Add support for special view types and styles --- examples/pugl_embed_demo.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'examples/pugl_embed_demo.c') 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; } -- cgit v1.2.1