From c0250286b886d24b20aeba6d84e47f4c4384d45c Mon Sep 17 00:00:00 2001 From: apio Date: Sat, 6 Apr 2024 20:37:11 +0200 Subject: [PATCH] fix: Change wind_key_event_request.code to a uint8_t to comply with upstream API memory layout --- src/wind.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wind.h b/src/wind.h index d2eff39..63de8ae 100644 --- a/src/wind.h +++ b/src/wind.h @@ -292,7 +292,7 @@ struct wind_key_event_request char letter; char key; - enum wind_keycode code; + uint8_t code; int modifiers; };