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:
parent
47b5b3e2cc
commit
d4f003d266
@ -3,6 +3,7 @@
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stddef.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
typedef struct wind_client_t
|
||||
{
|
||||
@ -287,7 +288,7 @@ struct wind_key_event_request
|
||||
{
|
||||
int window;
|
||||
|
||||
int pressed;
|
||||
bool pressed;
|
||||
|
||||
char letter;
|
||||
char key;
|
||||
|
Loading…
Reference in New Issue
Block a user