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
e8c6a741
Commit
e8c6a741
authored
Oct 25, 2018
by
Ulrich Sibiller
Committed by
Mike Gabriel
Oct 27, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Window.c: convert old-style function definitions to ANSI C89 style
parent
28043201
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
16 deletions
+6
-16
Window.c
nx-X11/programs/Xserver/hw/nxagent/Window.c
+6
-16
No files found.
nx-X11/programs/Xserver/hw/nxagent/Window.c
View file @
e8c6a741
...
@@ -263,8 +263,7 @@ WindowPtr nxagentWindowPtr(Window window)
...
@@ -263,8 +263,7 @@ WindowPtr nxagentWindowPtr(Window window)
return
match
.
pWin
;
return
match
.
pWin
;
}
}
Bool
nxagentCreateWindow
(
pWin
)
Bool
nxagentCreateWindow
(
WindowPtr
pWin
)
WindowPtr
pWin
;
{
{
unsigned
long
mask
;
unsigned
long
mask
;
XSetWindowAttributes
attributes
;
XSetWindowAttributes
attributes
;
...
@@ -1568,9 +1567,7 @@ void nxagentConfigureWindow(WindowPtr pWin, unsigned int mask)
...
@@ -1568,9 +1567,7 @@ void nxagentConfigureWindow(WindowPtr pWin, unsigned int mask)
}
}
}
}
void
nxagentReparentWindow
(
pWin
,
pOldParent
)
void
nxagentReparentWindow
(
WindowPtr
pWin
,
WindowPtr
pOldParent
)
WindowPtr
pWin
;
WindowPtr
pOldParent
;
{
{
if
(
nxagentScreenTrap
)
if
(
nxagentScreenTrap
)
{
{
...
@@ -1589,9 +1586,7 @@ void nxagentReparentWindow(pWin, pOldParent)
...
@@ -1589,9 +1586,7 @@ void nxagentReparentWindow(pWin, pOldParent)
pWin
->
origin
.
y
-
wBorderWidth
(
pWin
));
pWin
->
origin
.
y
-
wBorderWidth
(
pWin
));
}
}
Bool
nxagentChangeWindowAttributes
(
pWin
,
mask
)
Bool
nxagentChangeWindowAttributes
(
WindowPtr
pWin
,
unsigned
long
mask
)
WindowPtr
pWin
;
unsigned
long
mask
;
{
{
XSetWindowAttributes
attributes
;
XSetWindowAttributes
attributes
;
...
@@ -1953,8 +1948,7 @@ Bool nxagentRealizeWindow(WindowPtr pWin)
...
@@ -1953,8 +1948,7 @@ Bool nxagentRealizeWindow(WindowPtr pWin)
return
True
;
return
True
;
}
}
Bool
nxagentUnrealizeWindow
(
pWin
)
Bool
nxagentUnrealizeWindow
(
WindowPtr
pWin
)
WindowPtr
pWin
;
{
{
if
(
nxagentScreenTrap
)
if
(
nxagentScreenTrap
)
{
{
...
@@ -2011,10 +2005,7 @@ void nxagentFrameBufferPaintWindow(WindowPtr pWin, RegionPtr pRegion, int what)
...
@@ -2011,10 +2005,7 @@ void nxagentFrameBufferPaintWindow(WindowPtr pWin, RegionPtr pRegion, int what)
}
}
}
}
void
nxagentPaintWindowBackground
(
pWin
,
pRegion
,
what
)
void
nxagentPaintWindowBackground
(
WindowPtr
pWin
,
RegionPtr
pRegion
,
int
what
)
WindowPtr
pWin
;
RegionPtr
pRegion
;
int
what
;
{
{
int
i
;
int
i
;
...
@@ -3428,8 +3419,7 @@ Bool nxagentIsIconic(WindowPtr pWin)
...
@@ -3428,8 +3419,7 @@ Bool nxagentIsIconic(WindowPtr pWin)
}
}
}
}
void
nxagentSetTopLevelEventMask
(
pWin
)
void
nxagentSetTopLevelEventMask
(
WindowPtr
pWin
)
WindowPtr
pWin
;
{
{
unsigned
long
mask
=
CWEventMask
;
unsigned
long
mask
=
CWEventMask
;
XSetWindowAttributes
attributes
;
XSetWindowAttributes
attributes
;
...
...
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