aboutsummaryrefslogtreecommitdiff
path: root/include/mglpp/window/Event.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/mglpp/window/Event.hpp')
-rw-r--r--include/mglpp/window/Event.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/mglpp/window/Event.hpp b/include/mglpp/window/Event.hpp
index 97e2d91..35b83a4 100644
--- a/include/mglpp/window/Event.hpp
+++ b/include/mglpp/window/Event.hpp
@@ -63,14 +63,14 @@ namespace mgl {
int id;
};
- enum class MappingChangedType {
+ enum class MappingChangedType : int {
MODIFIER,
KEYBOARD,
POINTER
};
struct MappingChangedEvent {
- int type; // MappingChangedType
+ MappingChangedType type;
};
enum Type : int {