From d7383b2c1f4e8d921b6e68d51a9575a6e14d5259 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Thu, 4 Nov 2021 13:55:13 +0100 Subject: Fix clock restart returning incorrect time --- include/mglpp/window/Event.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/mglpp/window/Event.hpp b/include/mglpp/window/Event.hpp index 4c99379..c073251 100644 --- a/include/mglpp/window/Event.hpp +++ b/include/mglpp/window/Event.hpp @@ -34,7 +34,7 @@ namespace mgl { int y; /* relative to top of the window */ }; - enum EventType : int { + enum Type : int { Unknown, Resized, KeyPressed, @@ -44,7 +44,7 @@ namespace mgl { MouseMoved }; - EventType type; + Type type; union { SizeEvent size; -- cgit v1.2.3