diff options
author | dec05eba <dec05eba@protonmail.com> | 2025-01-21 19:51:41 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2025-01-21 19:51:41 +0100 |
commit | 7e35869648a0037a488c0ffdababc53379d0c67c (patch) | |
tree | 6e9b3a39bb03ef8dd475abf5cc84cc1ceff041c5 /include | |
parent | 627be8149bece18caa9f22f84e6c1c75de8f9003 (diff) |
m
Diffstat (limited to 'include')
-rw-r--r-- | include/mglpp/window/Event.hpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/mglpp/window/Event.hpp b/include/mglpp/window/Event.hpp index a013289..97e2d91 100644 --- a/include/mglpp/window/Event.hpp +++ b/include/mglpp/window/Event.hpp @@ -63,14 +63,14 @@ namespace mgl { int id; }; - enum class MappingNotifyType { + enum class MappingChangedType { MODIFIER, KEYBOARD, POINTER }; - struct MappingNotifyEvent { - int notify_type; // MappingNotifyType + struct MappingChangedEvent { + int type; // MappingChangedType }; enum Type : int { @@ -89,7 +89,7 @@ namespace mgl { MonitorConnected, MonitorDisconnected, MonitorPropertyChanged, - MappingNotify + MappingChanged }; Type type; @@ -104,7 +104,7 @@ namespace mgl { MonitorConnectedEvent monitor_connected; MonitorDisconnectedEvent monitor_disconnected; MonitorPropertyChangedEvent monitor_property_changed; - MappingNotifyEvent mapping_notify; + MappingChangedEvent mapping_changed; }; }; } |