diff --git a/src/MiniFB_internal.h b/src/MiniFB_internal.h index 7ba4062..384b65f 100755 --- a/src/MiniFB_internal.h +++ b/src/MiniFB_internal.h @@ -2,6 +2,7 @@ #include "MiniFB.h" #include "MiniFB_enums.h" +#include "x11/WindowData_X11.h" #define kCall(func, ...) if(window_data && window_data->func) window_data->func((struct mfb_window *) window_data, __VA_ARGS__); #define kUnused(var) (void) var; @@ -18,7 +19,7 @@ extern "C" { #endif extern short int g_keycodes[512]; - void init_keycodes(void); + void init_keycodes(SWindowData_X11 *window_data_x11); void keyboard_default(struct mfb_window *window, mfb_key key, mfb_key_mod mod, bool isPressed); #if defined(__cplusplus)