aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/detail/win.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-08-02 21:49:16 +0200
committerDavid Robillard <d@drobilla.net>2019-08-02 23:28:15 +0200
commit1c1e053d3403a6e03a00db8f3551f6a19302876b (patch)
treed17ecd6498434ef5d24a59e5416aa22d542e48b1 /pugl/detail/win.c
parent9f4a5e733b20f2de1619b46e0f7a36b3b5558f6e (diff)
downloadpugl-1c1e053d3403a6e03a00db8f3551f6a19302876b.tar.gz
pugl-1c1e053d3403a6e03a00db8f3551f6a19302876b.tar.bz2
pugl-1c1e053d3403a6e03a00db8f3551f6a19302876b.zip
Replace puglIgnoreKeyRepeat() with a hint
Diffstat (limited to 'pugl/detail/win.c')
-rw-r--r--pugl/detail/win.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pugl/detail/win.c b/pugl/detail/win.c
index 6e176b6..5922769 100644
--- a/pugl/detail/win.c
+++ b/pugl/detail/win.c
@@ -360,7 +360,7 @@ initCharEvent(PuglEvent* event, PuglView* view, WPARAM wParam, LPARAM lParam)
static bool
ignoreKeyEvent(PuglView* view, LPARAM lParam)
{
- return view->ignoreKeyRepeat && (lParam & (1 << 30));
+ return view->hints.ignoreKeyRepeat && (lParam & (1 << 30));
}
static RECT