diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2026-03-17 07:25:19 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2026-03-17 07:26:49 +0100 |
| commit | ea8a2149a1b6a8f5fb2eb6fe84a8ca67287f041c (patch) | |
| tree | 973de17b086cd9903e97c2bee0e106d2ecd3e71e | |
| parent | fdc0ca8796262d3ffe837301fa6f60f3a94ca38f (diff) | |
[CHORE] Adding new types and fix X11 foundation header.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
| -rw-r--r-- | frameworks/X11.fwrk/headers/Foundation.h | 6 | ||||
| -rw-r--r-- | 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 <System/X11+Fwd.h> - -struct XFCURSOR; // Cursor struct -struct XFDISPLAY; // Display struct -struct XFCONN; // Connection struct +#include <ne_system/System/X11.h> #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 <ne_system/System/NeSystem.h> |
