aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2020-05-10 09:20:45 +0200
committerMattias Andrée <maandree@kth.se>2020-05-10 09:20:45 +0200
commit6650f1cb953646ed85ef22a0ada692ba44fb9905 (patch)
treeb70f9223ca5b0d2cb88dd1fb071539ef6e220461
parentFix typo (diff)
downloadlibaxl-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.h6
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 {