1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-05-04 15:26:16 +00:00

cursorlist and cursor fore/background colors are local to module and can be static.

This commit is contained in:
Nick Briggs
2023-01-01 20:36:28 -08:00
parent 4b3997b432
commit 7eb87576f5

View File

@@ -24,12 +24,12 @@
#include "xcursordefs.h" // for Init_XCursor, Set_XCursor, init_Xcursor #include "xcursordefs.h" // for Init_XCursor, Set_XCursor, init_Xcursor
#include "xdefs.h" // for XLOCK, XUNLOCK #include "xdefs.h" // for XLOCK, XUNLOCK
XColor cursor_fore_xcsd, cursor_back_xcsd, xced; static XColor cursor_fore_xcsd, cursor_back_xcsd, xced;
extern Colormap Colors; extern Colormap Colors;
extern DspInterface currentdsp; extern DspInterface currentdsp;
/* a simple linked list to remember X cursors */ /* a simple linked list to remember X cursors */
struct MXCURSOR { static struct MXCURSOR {
struct MXCURSOR *next; struct MXCURSOR *next;
DLword bitmap[CURSORHEIGHT]; DLword bitmap[CURSORHEIGHT];
Cursor Xid; Cursor Xid;