some stuffs work

This commit is contained in:
NishiOwO
2025-12-15 11:05:20 +09:00
parent 4951e8995e
commit 7a81af9922
11 changed files with 96 additions and 55 deletions

View File

@@ -58,8 +58,8 @@ typedef unsigned long MwU64;
#ifdef MW_OTHER_TYPES_DEFINED
#undef MW_OTHER_TYPES_DEFINED
#else
typedef int MwI32;
typedef unsigned int MwU32;
typedef int MwI32;
typedef unsigned int MwU32;
typedef short MwI16;
typedef unsigned short MwU16;

View File

@@ -15,6 +15,7 @@
#include <wayland-client.h>
#include <xkbcommon/xkbcommon.h>
#include <cairo/cairo.h>
MWDECL int MwLLWaylandCallInit(void);
@@ -103,6 +104,9 @@ struct _MwLLWayland {
void* mapped_shm_buf;
MwU64 mapped_shm_buf_size;
int shm_fd;
cairo_surface_t* cs;
cairo_t* cairo;
};
struct _MwLLWaylandColor {