From 7e35869648a0037a488c0ffdababc53379d0c67c Mon Sep 17 00:00:00 2001 From: dec05eba Date: Tue, 21 Jan 2025 19:51:41 +0100 Subject: m --- depends/mgl | 2 +- include/mglpp/window/Event.hpp | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/depends/mgl b/depends/mgl index 2580087..c613fed 160000 --- a/depends/mgl +++ b/depends/mgl @@ -1 +1 @@ -Subproject commit 2580087ef23fe21ae4dbed45fb8cfa14fbfd7b9f +Subproject commit c613fed749cff8fee16ea3906a5f39d1fe8dc20e 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; }; }; } -- cgit v1.2.3