aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/pugl.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-03-08 12:32:17 +0100
committerDavid Robillard <d@drobilla.net>2020-03-08 14:40:51 +0100
commit7ea92df546c8595ff571787b17d57c08fb06e916 (patch)
tree962b24bb4bf24460ac9e4b366cd3b4c7e8ea9927 /pugl/pugl.h
parent55689229e1444f8d39d8f4ac13776371b52ed3b3 (diff)
downloadpugl-7ea92df546c8595ff571787b17d57c08fb06e916.tar.gz
pugl-7ea92df546c8595ff571787b17d57c08fb06e916.tar.bz2
pugl-7ea92df546c8595ff571787b17d57c08fb06e916.zip
Remove redundant PuglEventClose
This is identical to PuglEventAny.
Diffstat (limited to 'pugl/pugl.h')
-rw-r--r--pugl/pugl.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/pugl/pugl.h b/pugl/pugl.h
index 7ec1d9e..64d25cb 100644
--- a/pugl/pugl.h
+++ b/pugl/pugl.h
@@ -261,17 +261,6 @@ typedef struct {
} PuglEventExpose;
/**
- Window close event.
-
- This event is sent when the window is to be closed, for example when the
- user clicks the close button.
-*/
-typedef struct {
- PuglEventType type; ///< #PUGL_CLOSE
- PuglEventFlags flags; ///< Bitwise OR of #PuglEventFlag values
-} PuglEventClose;
-
-/**
Key press or release event.
This event represents low-level key presses and releases. This can be used
@@ -408,7 +397,6 @@ typedef union {
PuglEventButton button; ///< #PUGL_BUTTON_PRESS, #PUGL_BUTTON_RELEASE
PuglEventConfigure configure; ///< #PUGL_CONFIGURE
PuglEventExpose expose; ///< #PUGL_EXPOSE
- PuglEventClose close; ///< #PUGL_CLOSE
PuglEventKey key; ///< #PUGL_KEY_PRESS, #PUGL_KEY_RELEASE
PuglEventText text; ///< #PUGL_TEXT
PuglEventCrossing crossing; ///< #PUGL_ENTER_NOTIFY, #PUGL_LEAVE_NOTIFY