From 1c1e053d3403a6e03a00db8f3551f6a19302876b Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 2 Aug 2019 21:49:16 +0200 Subject: Replace puglIgnoreKeyRepeat() with a hint --- test/pugl_cairo_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/pugl_cairo_test.c') diff --git a/test/pugl_cairo_test.c b/test/pugl_cairo_test.c index d3b157e..a16c821 100644 --- a/test/pugl_cairo_test.c +++ b/test/pugl_cairo_test.c @@ -209,7 +209,7 @@ main(int argc, char** argv) puglInitWindowHint(view, PUGL_RESIZABLE, resizable); puglInitBackend(view, puglCairoBackend()); - puglIgnoreKeyRepeat(view, ignoreKeyRepeat); + puglInitWindowHint(view, PUGL_IGNORE_KEY_REPEAT, ignoreKeyRepeat); puglSetEventFunc(view, onEvent); if (puglCreateWindow(view, "Pugl Test")) { -- cgit v1.2.1