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
1b54f646
Commit
1b54f646
authored
Feb 26, 2018
by
Ulrich Sibiller
Committed by
Mihai Moldovan
Feb 26, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Lift dix to xorg-xserver-1.3.0.0 state - non-functional changes only
parent
485d6267
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
10 deletions
+5
-10
globals.c
nx-X11/programs/Xserver/dix/globals.c
+2
-2
swaprep.c
nx-X11/programs/Xserver/dix/swaprep.c
+2
-4
swapreq.c
nx-X11/programs/Xserver/dix/swapreq.c
+0
-2
NXproperty.c
nx-X11/programs/Xserver/hw/nxagent/NXproperty.c
+1
-2
No files found.
nx-X11/programs/Xserver/dix/globals.c
View file @
1b54f646
...
...
@@ -110,8 +110,8 @@ CARD32 defaultDPMSSuspendTime = DEFAULT_SUSPEND_TIME;
CARD32
defaultDPMSOffTime
=
DEFAULT_OFF_TIME
;
CARD16
DPMSPowerLevel
=
0
;
Bool
defaultDPMSEnabled
=
DEFAULT_DPMS_ENABLED
;
Bool
DPMSEnabledSwitch
=
FALSE
;
/* these denote the DPMS command line
*/
Bool
DPMSDisabledSwitch
=
FALSE
;
/*
switch states */
Bool
DPMSEnabledSwitch
=
FALSE
;
/* these denote the DPMS command
*/
Bool
DPMSDisabledSwitch
=
FALSE
;
/* line
switch states */
Bool
DPMSCapableFlag
=
FALSE
;
CARD32
DPMSStandbyTime
;
CARD32
DPMSSuspendTime
;
...
...
nx-X11/programs/Xserver/dix/swaprep.c
View file @
1b54f646
...
...
@@ -354,8 +354,7 @@ SQueryKeymapReply(ClientPtr pClient, int size, xQueryKeymapReply *pRep)
WriteToClient
(
pClient
,
size
,
pRep
);
}
static
void
static
void
SwapCharInfo
(
xCharInfo
*
pInfo
)
{
swaps
(
&
pInfo
->
leftSideBearing
);
...
...
@@ -380,8 +379,7 @@ SwapFontInfo(xQueryFontReply *pr)
swapl
(
&
pr
->
nCharInfos
);
}
static
void
static
void
SwapFont
(
xQueryFontReply
*
pr
,
Bool
hasGlyphs
)
{
unsigned
i
;
...
...
nx-X11/programs/Xserver/dix/swapreq.c
View file @
1b54f646
...
...
@@ -61,7 +61,6 @@ SOFTWARE.
/* Thanks to Jack Palevich for testing and subsequently rewriting all this */
/* Byte swap a list of longs */
void
SwapLongs
(
register
CARD32
*
list
,
register
unsigned
long
count
)
{
...
...
@@ -86,7 +85,6 @@ SwapLongs (register CARD32 *list, register unsigned long count)
}
/* Byte swap a list of shorts */
void
SwapShorts
(
register
short
*
list
,
register
unsigned
long
count
)
{
...
...
nx-X11/programs/Xserver/hw/nxagent/NXproperty.c
View file @
1b54f646
...
...
@@ -275,7 +275,7 @@ ChangeWindowProperty(WindowPtr pWin, Atom property, Atom type, int format,
{
if
(
totalSize
!=
pProp
->
size
*
(
pProp
->
format
>>
3
))
{
data
=
(
void
*
)
realloc
(
pProp
->
data
,
totalSize
);
data
=
(
void
*
)
realloc
(
pProp
->
data
,
totalSize
);
if
(
!
data
&&
len
)
return
(
BadAlloc
);
pProp
->
data
=
data
;
...
...
@@ -349,7 +349,6 @@ ProcGetProperty(ClientPtr client)
REQUEST
(
xGetPropertyReq
);
REQUEST_SIZE_MATCH
(
xGetPropertyReq
);
if
(
stuff
->
delete
)
UpdateCurrentTime
();
pWin
=
(
WindowPtr
)
SecurityLookupWindow
(
stuff
->
window
,
client
,
...
...
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