diff options
author | dec05eba <dec05eba@protonmail.com> | 2025-01-21 19:51:25 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2025-01-21 19:51:25 +0100 |
commit | c613fed749cff8fee16ea3906a5f39d1fe8dc20e (patch) | |
tree | e626d59a4ee5e2968d639109ecebf77113b1e1f5 /include | |
parent | 2580087ef23fe21ae4dbed45fb8cfa14fbfd7b9f (diff) |
m
Diffstat (limited to 'include')
-rw-r--r-- | include/mgl/window/event.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/include/mgl/window/event.h b/include/mgl/window/event.h index ab7ce35..0f0d94e 100644 --- a/include/mgl/window/event.h +++ b/include/mgl/window/event.h @@ -60,14 +60,14 @@ typedef struct { } mgl_monitor_disconnected_event; typedef enum { - MGL_MAPPING_NOTIFY_MODIFIER, - MGL_MAPPING_NOTIFY_KEYBOARD, - MGL_MAPPING_NOTIFY_POINTER -} mgl_mapping_notify_type; + MGL_MAPPING_CHANGED_MODIFIER, + MGL_MAPPING_CHANGED_KEYBOARD, + MGL_MAPPING_CHANGED_POINTER +} mgl_mapping_changed_type; typedef struct { - int notify_type; /* mgl_mapping_notify_type */ -} mgl_mapping_notify_event; + int type; /* mgl_mapping_changed_type */ +} mgl_mapping_changed_event; typedef enum { MGL_EVENT_UNKNOWN, @@ -85,7 +85,7 @@ typedef enum { MGL_EVENT_MONITOR_CONNECTED, MGL_EVENT_MONITOR_DISCONNECTED, MGL_EVENT_MONITOR_PROPERTY_CHANGED, - MGL_EVENT_MAPPING_NOTIFY + MGL_EVENT_MAPPING_CHANGED } mgl_event_type; struct mgl_event { @@ -100,7 +100,7 @@ struct mgl_event { mgl_monitor_connected_event monitor_connected; mgl_monitor_disconnected_event monitor_disconnected; mgl_monitor_property_changed_event monitor_property_changed; - mgl_mapping_notify_event mapping_notify; + mgl_mapping_changed_event mapping_changed; }; }; |