diff options
Diffstat (limited to 'main.c')
-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; |