Commit fdde5b12 authored by Ulrich Sibiller's avatar Ulrich Sibiller Committed by Mike Gabriel

nxagent: move variable definitions from headers to source files

Fixes ArcticaProject/nx-libs#907 (2/3)
parent 762bfb50
...@@ -77,6 +77,8 @@ is" without express or implied warranty. ...@@ -77,6 +77,8 @@ is" without express or implied warranty.
#undef TEST #undef TEST
#undef DEBUG #undef DEBUG
CursorBitsPtr nxagentAnimCursorBits;
/* /*
* Defined in Display.c. There are huge problems mixing the GC * Defined in Display.c. There are huge problems mixing the GC
* definition in Xlib with the server code. This must be reworked. * definition in Xlib with the server code. This must be reworked.
......
...@@ -65,7 +65,7 @@ typedef struct _AnimCur { ...@@ -65,7 +65,7 @@ typedef struct _AnimCur {
AnimCurElt *elts; AnimCurElt *elts;
} AnimCurRec, *AnimCurPtr; } AnimCurRec, *AnimCurPtr;
CursorBitsPtr nxagentAnimCursorBits; extern CursorBitsPtr nxagentAnimCursorBits;
#define nxagentIsAnimCursor(c) ((c)->bits == nxagentAnimCursorBits) #define nxagentIsAnimCursor(c) ((c)->bits == nxagentAnimCursorBits)
#define nxagentGetAnimCursor(c) ((AnimCurPtr) ((c) + 1)) #define nxagentGetAnimCursor(c) ((AnimCurPtr) ((c) + 1))
......
...@@ -74,7 +74,7 @@ Colormap nxagentDefaultVisualColormap(Visual *visual); ...@@ -74,7 +74,7 @@ Colormap nxagentDefaultVisualColormap(Visual *visual);
(v1).blue_mask == (v2).red_mask) && \ (v1).blue_mask == (v2).red_mask) && \
(v1).colormap_size == (v2).colormap_size) (v1).colormap_size == (v2).colormap_size)
Visual nxagentAlphaVisual; extern Visual nxagentAlphaVisual;
void nxagentInitAlphaVisual(); void nxagentInitAlphaVisual();
......
...@@ -83,6 +83,9 @@ int nxagentVisibility = VisibilityUnobscured; ...@@ -83,6 +83,9 @@ int nxagentVisibility = VisibilityUnobscured;
unsigned long nxagentVisibilityTimeout = 0; unsigned long nxagentVisibilityTimeout = 0;
Bool nxagentVisibilityStop = False; Bool nxagentVisibilityStop = False;
ConfiguredWindowStruct *nxagentConfiguredWindowList;
StaticResizedWindowStruct *nxagentStaticResizedWindowList;
/* /*
* Set here the required log level. * Set here the required log level.
*/ */
......
...@@ -288,7 +288,6 @@ typedef struct _ConfiguredWindow ...@@ -288,7 +288,6 @@ typedef struct _ConfiguredWindow
unsigned int valuemask; unsigned int valuemask;
} ConfiguredWindowStruct; } ConfiguredWindowStruct;
ConfiguredWindowStruct *nxagentConfiguredWindowList;
typedef struct _StaticResizedWindow typedef struct _StaticResizedWindow
{ {
...@@ -300,8 +299,6 @@ typedef struct _StaticResizedWindow ...@@ -300,8 +299,6 @@ typedef struct _StaticResizedWindow
int offY; int offY;
} StaticResizedWindowStruct; } StaticResizedWindowStruct;
StaticResizedWindowStruct *nxagentStaticResizedWindowList;
void nxagentPostValidateTree(WindowPtr pParent, WindowPtr pChild, VTKind kind); void nxagentPostValidateTree(WindowPtr pParent, WindowPtr pChild, VTKind kind);
void nxagentFlushConfigureWindow(void); void nxagentFlushConfigureWindow(void);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment