seperate wayland's cairo functionality into a backend that can be used seperately
Some checks failed
pyrite-dev/milsko/pipeline/head There was a failure building this commit

This commit is contained in:
IoIxD 2026-07-09 21:45:30 -07:00
commit c2bb601311
9 changed files with 563 additions and 285 deletions

View file

@ -1040,7 +1040,7 @@ typedef int (*call_t)(void);
int MwLibraryInit(void) {
call_t calls[] = {
#ifdef USE_WAYLAND
MwLLWaylandCallInit,
NULL, /* set in a bit */
#endif
#ifdef USE_X11
MwLLX11CallInit,
@ -1060,6 +1060,12 @@ int MwLibraryInit(void) {
NULL};
int i;
if(MwWaylandCairoOnly) {
calls[0] = MwLLCairoCallInit;
} else {
calls[0] = MwLLWaylandCallInit;
}
MwColorTableInit();
MwFLSetup();