1
0
mirror of synced 2024-11-15 01:57:36 +01:00

Fix hotd key repeat issue

This commit is contained in:
Bobby Dilley 2023-12-29 14:16:50 +00:00
parent 03ff0e6923
commit 95bc966da3

View File

@ -86,6 +86,14 @@ FGAPI void FGAPIENTRY glutGameModeString(const char *string)
} }
} }
/**
* Stop the house of the dead games turning keyboard repeating off.
*/
int XAutoRepeatOff(Display *display)
{
return 0;
}
Window XCreateWindow(Display *display, Window parent, int x, int y, unsigned int width, unsigned int height, unsigned int border_width, int depth, unsigned int class, Visual *visual, unsigned long valueMask, XSetWindowAttributes *attributes) Window XCreateWindow(Display *display, Window parent, int x, int y, unsigned int width, unsigned int height, unsigned int border_width, int depth, unsigned int class, Visual *visual, unsigned long valueMask, XSetWindowAttributes *attributes)
{ {