Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nx-libs
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dimbor
nx-libs
Commits
fdde5b12
Commit
fdde5b12
authored
Jan 30, 2020
by
Ulrich Sibiller
Committed by
Mike Gabriel
May 07, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nxagent: move variable definitions from headers to source files
Fixes ArcticaProject/nx-libs#907 (2/3)
parent
762bfb50
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
5 deletions
+7
-5
Cursor.c
nx-X11/programs/Xserver/hw/nxagent/Cursor.c
+2
-0
Cursor.h
nx-X11/programs/Xserver/hw/nxagent/Cursor.h
+1
-1
Visual.h
nx-X11/programs/Xserver/hw/nxagent/Visual.h
+1
-1
Window.c
nx-X11/programs/Xserver/hw/nxagent/Window.c
+3
-0
Windows.h
nx-X11/programs/Xserver/hw/nxagent/Windows.h
+0
-3
No files found.
nx-X11/programs/Xserver/hw/nxagent/Cursor.c
View file @
fdde5b12
...
@@ -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.
...
...
nx-X11/programs/Xserver/hw/nxagent/Cursor.h
View file @
fdde5b12
...
@@ -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))
...
...
nx-X11/programs/Xserver/hw/nxagent/Visual.h
View file @
fdde5b12
...
@@ -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
();
...
...
nx-X11/programs/Xserver/hw/nxagent/Window.c
View file @
fdde5b12
...
@@ -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.
*/
*/
...
...
nx-X11/programs/Xserver/hw/nxagent/Windows.h
View file @
fdde5b12
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment