From d4f003d26628d888c6f3a310c035a443a6c4193f Mon Sep 17 00:00:00 2001 From: apio Date: Sat, 6 Apr 2024 20:24:58 +0200 Subject: [PATCH] fix: Make wind_key_event_request.pressed a boolean instead of an int to comply with upstream API memory layout --- src/wind.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/wind.h b/src/wind.h index d8c5b02..d2eff39 100644 --- a/src/wind.h +++ b/src/wind.h @@ -3,6 +3,7 @@ #include #include +#include typedef struct wind_client_t { @@ -287,7 +288,7 @@ struct wind_key_event_request { int window; - int pressed; + bool pressed; char letter; char key;