forward declare XLookupString ourselves, since it is apparently missing in libx11-dev

This commit is contained in:
Ryan Fleury
2025-05-11 21:26:25 -07:00
parent cc319190c6
commit 2307d44506
+11
View File
@@ -14,6 +14,17 @@
#include <X11/keysym.h>
#include <X11/keysymdef.h>
////////////////////////////////
//~ rjf: Prototypes (which seem to sometimes be missing)
typedef struct _XComposeStatus
{
XPointer compose_ptr;
int chars_matched;
}
XComposeStatus;
int XLookupString(XKeyEvent *event_struct, char *buffer_return, int bytes_buffer, KeySym *keysym_return, XComposeStatus *status_in_out);
////////////////////////////////
//~ rjf: Window State