summaryrefslogtreecommitdiff
path: root/pugl/pugl.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-04-29 02:53:47 +0000
committerDavid Robillard <d@drobilla.net>2012-04-29 02:53:47 +0000
commit4e6368d019e2543e6bf792f182486732d6f5a3f5 (patch)
tree4c2545feea12ebacfda281c9905a410820c55fe1 /pugl/pugl.h
parente346dc20fb1fcbc8f895d7c46e3ec54628d3db0c (diff)
Proper key press and release support on X11.
Clearer mouse callback API.
Diffstat (limited to 'pugl/pugl.h')
-rw-r--r--pugl/pugl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/pugl/pugl.h b/pugl/pugl.h
index 853a754..6a6fbe7 100644
--- a/pugl/pugl.h
+++ b/pugl/pugl.h
@@ -52,7 +52,7 @@ typedef void (*PuglDisplayFunc)(PuglWindow* handle);
typedef void (*PuglKeyboardFunc)(PuglWindow* handle, bool press, uint32_t key);
typedef void (*PuglMotionFunc)(PuglWindow* handle, int x, int y);
typedef void (*PuglMouseFunc)(PuglWindow* handle,
- int button, int state,
+ int button, bool down,
int x, int y);
typedef void (*PuglReshapeFunc)(PuglWindow* handle, int width, int height);