aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2016-09-15 01:06:53 +0800
committerDavid Robillard <d@drobilla.net>2016-09-15 01:06:53 +0800
commitb2430346aceb9773955f86a3e46ea0af9c9c7b7b (patch)
tree9ab8867c759b3ce5b2910033ff87590c91d623eb
parentd394a51b662a3cbbb575a94836a6d9737ce0c26a (diff)
Make PUGL_NOTHING type 0
This makes life easy in several ways, and pugl currently provides no ABI stability guarantee anyway.
-rw-r--r--pugl/event.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/pugl/event.h b/pugl/event.h
index 8ed1b2e..cf2ba7d 100644
--- a/pugl/event.h
+++ b/pugl/event.h
@@ -34,6 +34,7 @@ extern "C" {
The type of a PuglEvent.
*/
typedef enum {
+ PUGL_NOTHING,
PUGL_BUTTON_PRESS,
PUGL_BUTTON_RELEASE,
PUGL_CONFIGURE,
@@ -44,7 +45,6 @@ typedef enum {
PUGL_ENTER_NOTIFY,
PUGL_LEAVE_NOTIFY,
PUGL_MOTION_NOTIFY,
- PUGL_NOTHING,
PUGL_SCROLL,
PUGL_FOCUS_IN,
PUGL_FOCUS_OUT