diff options
author | David Robillard <d@drobilla.net> | 2012-04-30 20:37:54 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-04-30 20:37:54 +0000 |
commit | 1365dd607f51217017f6de4c7246626a6fdd07e8 (patch) | |
tree | 6e7718c7858f5fe11cba3faae899fd388b10fb05 /pugl/pugl.h | |
parent | 91a4fea4672c54d84bd3e46422e32636351c8053 (diff) | |
download | pugl-1365dd607f51217017f6de4c7246626a6fdd07e8.tar.gz pugl-1365dd607f51217017f6de4c7246626a6fdd07e8.tar.bz2 pugl-1365dd607f51217017f6de4c7246626a6fdd07e8.zip |
Add puglIgnoreKeyRepeat and implement on X11.
Add proper command line options for pugl_test.
Diffstat (limited to 'pugl/pugl.h')
-rw-r--r-- | pugl/pugl.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pugl/pugl.h b/pugl/pugl.h index 45e1653..58b2101 100644 --- a/pugl/pugl.h +++ b/pugl/pugl.h @@ -250,6 +250,12 @@ int puglGetModifiers(PuglView* view); /** + Ignore synthetic repeated key events. +*/ +void +puglIgnoreKeyRepeat(PuglView* view, bool ignore); + +/** Set the function to call when the window is closed. */ PUGL_API void |