aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2025-01-21 19:51:41 +0100
committerdec05eba <dec05eba@protonmail.com>2025-01-21 19:51:41 +0100
commit7e35869648a0037a488c0ffdababc53379d0c67c (patch)
tree6e9b3a39bb03ef8dd475abf5cc84cc1ceff041c5
parent627be8149bece18caa9f22f84e6c1c75de8f9003 (diff)
m
m---------depends/mgl0
-rw-r--r--include/mglpp/window/Event.hpp10
2 files changed, 5 insertions, 5 deletions
diff --git a/depends/mgl b/depends/mgl
-Subproject 2580087ef23fe21ae4dbed45fb8cfa14fbfd7b9
+Subproject c613fed749cff8fee16ea3906a5f39d1fe8dc20
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;
};
};
}