Skip to content

Commit

Permalink
Fixes modifiers type signature in input_key callback
Browse files Browse the repository at this point in the history
Internally arcan uses uint16 for representing modifiers bitset, while this callback used to squeeze it into uint8.
  • Loading branch information
cipharius committed Apr 15, 2023
1 parent f8d1dbd commit f8c2d8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shmif/arcan_tui.h
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ struct tui_cbcfg {
*
*/
void (*input_key)(struct tui_context*, uint32_t symest,
uint8_t scancode, uint8_t mods, uint16_t subid, void* tag);
uint8_t scancode, uint16_t mods, uint16_t subid, void* tag);

/*
* other input- that wasn't handled in the other callbacks
Expand Down

0 comments on commit f8c2d8f

Please sign in to comment.