From d7a93950b3af397580572adf2e366f3b162104a9 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 23 Jan 2025 17:00:36 -0500 Subject: Rename puglPostRedisplay() to puglObscureView() For consistency with event types (since "obscure" is opposite "expose") and the upcoming puglObscureRegion(). --- examples/pugl_clipboard_demo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/pugl_clipboard_demo.c') diff --git a/examples/pugl_clipboard_demo.c b/examples/pugl_clipboard_demo.c index efeb1eb..78ea4e8 100644 --- a/examples/pugl_clipboard_demo.c +++ b/examples/pugl_clipboard_demo.c @@ -116,7 +116,7 @@ static void redisplayView(PuglTestApp* app, PuglView* view) { if (!app->continuous) { - puglPostRedisplay(view); + puglObscureView(view); } } @@ -135,7 +135,7 @@ onEvent(PuglView* view, const PuglEvent* event) break; case PUGL_UPDATE: if (app->continuous) { - puglPostRedisplay(view); + puglObscureView(view); } break; case PUGL_EXPOSE: -- cgit v1.2.1