From ea8a2149a1b6a8f5fb2eb6fe84a8ca67287f041c Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Tue, 17 Mar 2026 07:25:19 +0100 Subject: [CHORE] Adding new types and fix X11 foundation header. Signed-off-by: Amlal El Mahrouss --- frameworks/X11.fwrk/headers/Foundation.h | 6 +----- include/ne_system/System/WindowSystems/X11.h | 7 +++++++ 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/frameworks/X11.fwrk/headers/Foundation.h b/frameworks/X11.fwrk/headers/Foundation.h index 0880774..ab06dcd 100644 --- a/frameworks/X11.fwrk/headers/Foundation.h +++ b/frameworks/X11.fwrk/headers/Foundation.h @@ -6,10 +6,6 @@ #ifndef X11_FOUNDATION_H #define X11_FOUNDATION_H -#include - -struct XFCURSOR; // Cursor struct -struct XFDISPLAY; // Display struct -struct XFCONN; // Connection struct +#include #endif diff --git a/include/ne_system/System/WindowSystems/X11.h b/include/ne_system/System/WindowSystems/X11.h index 7adaedb..718b29e 100644 --- a/include/ne_system/System/WindowSystems/X11.h +++ b/include/ne_system/System/WindowSystems/X11.h @@ -8,6 +8,13 @@ #define _NE_X11_SYSTEM 202603L +struct XFCURSOR; // Cursor struct +struct XFDISPLAY; // Display struct +struct XFCONN; // Connection struct + +typedef struct XFCURSOR* XcursorImage; +typedef struct XFCURSOR** XcursorCursors; + /// @brief NeSystem Header. #include -- cgit v1.2.3