aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/mglpp/window/Event.hpp10
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;
};
};
}