diff options
author | Jordan Halase <jordan@halase.me> | 2019-10-29 13:10:22 -0500 |
---|---|---|
committer | Jordan Halase <jordan@halase.me> | 2019-10-29 13:10:22 -0500 |
commit | 4249466fefd2bb34f13f12742c795ceb6b7a0f31 (patch) | |
tree | ecb031a3018b60fd04f32e37910a822f2500f2da | |
parent | 40e48dce46f1c0009ee57d7e00def483fda6add6 (diff) |
Use printEvent()
-rw-r--r-- | main.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -46,6 +46,8 @@ PERFORMANCE OF THIS SOFTWARE. #include "pugl/detail/x11.h" #endif +#include "test/test_utils.h" // for printEvent() + #include "pugl/pugl.h" #include "pugl/pugl_stub_backend.h" @@ -652,6 +654,7 @@ int running = 1; PuglStatus onEvent(PuglView *view, const PuglEvent *e) { + printEvent(e, "Event:\t", true); switch (e->type) { case PUGL_CLOSE: running = 0; |