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
f9653af3
Unverified
Commit
f9653af3
authored
Sep 28, 2015
by
Mike Gabriel
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'uli42-pr/backported_fixes' into 3.6.x
parents
da6b89f7
3a022e35
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
rrmode.c
nx-X11/programs/Xserver/randr/rrmode.c
+1
-1
rrscreen.c
nx-X11/programs/Xserver/randr/rrscreen.c
+2
-2
No files found.
nx-X11/programs/Xserver/randr/rrmode.c
View file @
f9653af3
...
@@ -99,7 +99,7 @@ RRModeCreate (xRRModeInfo *modeInfo,
...
@@ -99,7 +99,7 @@ RRModeCreate (xRRModeInfo *modeInfo,
mode
->
mode
.
id
=
FakeClientID
(
0
);
mode
->
mode
.
id
=
FakeClientID
(
0
);
if
(
!
AddResource
(
mode
->
mode
.
id
,
RRModeType
,
(
pointer
)
mode
))
{
if
(
!
AddResource
(
mode
->
mode
.
id
,
RRModeType
,
(
pointer
)
mode
))
{
free
(
newModes
);
x
free
(
newModes
);
return
NULL
;
return
NULL
;
}
}
modes
=
newModes
;
modes
=
newModes
;
...
...
nx-X11/programs/Xserver/randr/rrscreen.c
View file @
f9653af3
...
@@ -943,12 +943,12 @@ ProcRRSetScreenConfig (ClientPtr client)
...
@@ -943,12 +943,12 @@ ProcRRSetScreenConfig (ClientPtr client)
if
(
width
<
pScrPriv
->
minWidth
||
pScrPriv
->
maxWidth
<
width
)
{
if
(
width
<
pScrPriv
->
minWidth
||
pScrPriv
->
maxWidth
<
width
)
{
client
->
errorValue
=
width
;
client
->
errorValue
=
width
;
free
(
pData
);
xfree
(
pData
);
return
BadValue
;
return
BadValue
;
}
}
if
(
height
<
pScrPriv
->
minHeight
||
pScrPriv
->
maxHeight
<
height
)
{
if
(
height
<
pScrPriv
->
minHeight
||
pScrPriv
->
maxHeight
<
height
)
{
client
->
errorValue
=
height
;
client
->
errorValue
=
height
;
free
(
pData
);
xfree
(
pData
);
return
BadValue
;
return
BadValue
;
}
}
...
...
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