diff options
author | Mattias Andrée <maandree@kth.se> | 2020-05-10 09:20:45 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2020-05-10 09:20:45 +0200 |
commit | 6650f1cb953646ed85ef22a0ada692ba44fb9905 (patch) | |
tree | b70f9223ca5b0d2cb88dd1fb071539ef6e220461 | |
parent | Fix typo (diff) | |
download | libaxl-6650f1cb953646ed85ef22a0ada692ba44fb9905.tar.gz libaxl-6650f1cb953646ed85ef22a0ada692ba44fb9905.tar.bz2 libaxl-6650f1cb953646ed85ef22a0ada692ba44fb9905.tar.xz |
Fix struct for ClientMessage event
Signed-off-by: Mattias Andrée <maandree@kth.se>
-rw-r--r-- | libaxl-events.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libaxl-events.h b/libaxl-events.h index 83f696e..ed47f3d 100644 --- a/libaxl-events.h +++ b/libaxl-events.h @@ -513,7 +513,11 @@ struct libaxl_event_client_message { uint16_t sequence_number; libaxl_window_t window; libaxl_atom_t type; - uint8_t __unused[20]; + union { + uint8_t u8[20]; + uint16_t u16[10]; + uint32_t u32[5]; + } data; }; struct libaxl_event_mapping_notify { |