From 1e48f8bbfdb0f1ce2f9132d604405fb72d160d9d Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 12 Jan 2023 15:30:44 -0500 Subject: Windows: Add PUGL_DARK_FRAME hint This allows dark applications to visually integrate more nicely in Windows 10. A little thing, but it really goes a long way to make programs not look out of place and half-baked. --- examples/pugl_shader_demo.c | 1 + 1 file changed, 1 insertion(+) (limited to 'examples/pugl_shader_demo.c') diff --git a/examples/pugl_shader_demo.c b/examples/pugl_shader_demo.c index 5773a9d..5cd9c7c 100644 --- a/examples/pugl_shader_demo.c +++ b/examples/pugl_shader_demo.c @@ -265,6 +265,7 @@ setupPugl(PuglTestApp* app) puglSetViewHint(app->view, PUGL_DOUBLE_BUFFER, app->opts.doubleBuffer); puglSetViewHint(app->view, PUGL_SWAP_INTERVAL, app->opts.sync); puglSetViewHint(app->view, PUGL_IGNORE_KEY_REPEAT, PUGL_TRUE); + puglSetViewHint(app->view, PUGL_DARK_FRAME, PUGL_TRUE); puglSetHandle(app->view, app); puglSetEventFunc(app->view, onEvent); } -- cgit v1.2.1