From b2430346aceb9773955f86a3e46ea0af9c9c7b7b Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 15 Sep 2016 01:06:53 +0800 Subject: Make PUGL_NOTHING type 0 This makes life easy in several ways, and pugl currently provides no ABI stability guarantee anyway. --- pugl/event.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pugl/event.h') 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 -- cgit v1.2.1