From 8688322a431575731f491c861c9418df72bb3fb9 Mon Sep 17 00:00:00 2001 From: Ryan Fleury Date: Sun, 11 May 2025 21:47:24 -0700 Subject: [PATCH] more of the same --- src/os/gfx/linux/os_gfx_linux.c | 5 +++++ src/os/gfx/linux/os_gfx_linux.h | 11 ----------- 2 files changed, 5 insertions(+), 11 deletions(-) diff --git a/src/os/gfx/linux/os_gfx_linux.c b/src/os/gfx/linux/os_gfx_linux.c index 54c31736..a125f5c3 100644 --- a/src/os/gfx/linux/os_gfx_linux.c +++ b/src/os/gfx/linux/os_gfx_linux.c @@ -1,6 +1,11 @@ // Copyright (c) 2024 Epic Games Tools // Licensed under the MIT license (https://opensource.org/license/mit/) +//////////////////////////////// +//~ rjf: Prototypes (which seem to sometimes be missing) + +int XLookupString(XKeyEvent *event_struct, char *buffer_return, int bytes_buffer, KeySym *keysym_return, XComposeStatus *status_in_out); + //////////////////////////////// //~ rjf: Helpers diff --git a/src/os/gfx/linux/os_gfx_linux.h b/src/os/gfx/linux/os_gfx_linux.h index 4a562ae5..96341575 100644 --- a/src/os/gfx/linux/os_gfx_linux.h +++ b/src/os/gfx/linux/os_gfx_linux.h @@ -14,17 +14,6 @@ #include #include -//////////////////////////////// -//~ 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