fix: Make wind_key_event_request.pressed a boolean instead of an int to comply with upstream API memory layout

This commit is contained in:
apio 2024-04-06 20:24:58 +02:00
parent 47b5b3e2cc
commit d4f003d266
Signed by: apio
GPG Key ID: B8A7D06E42258954

View File

@ -3,6 +3,7 @@
#include <stdint.h> #include <stdint.h>
#include <stddef.h> #include <stddef.h>
#include <stdbool.h>
typedef struct wind_client_t typedef struct wind_client_t
{ {
@ -287,7 +288,7 @@ struct wind_key_event_request
{ {
int window; int window;
int pressed; bool pressed;
char letter; char letter;
char key; char key;