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
f22e873e
Commit
f22e873e
authored
Feb 08, 2017
by
Ulrich Sibiller
Committed by
Mihai Moldovan
Mar 01, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Screen.c: clean up superfluous whitespace
parent
baf7a926
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
Screen.c
nx-X11/programs/Xserver/hw/nxagent/Screen.c
+3
-4
No files found.
nx-X11/programs/Xserver/hw/nxagent/Screen.c
View file @
f22e873e
...
@@ -3812,7 +3812,7 @@ int nxagentAdjustRandRXinerama(ScreenPtr pScreen)
...
@@ -3812,7 +3812,7 @@ int nxagentAdjustRandRXinerama(ScreenPtr pScreen)
*/
*/
if
(
number
==
0
)
{
if
(
number
==
0
)
{
#ifdef DEBUG
#ifdef DEBUG
fprintf
(
stderr
,
"nxagentAdjustRandRXinerama: faking xinerama
\n
"
);
fprintf
(
stderr
,
"nxagentAdjustRandRXinerama: faking xinerama
\n
"
);
#endif
#endif
number
=
1
;
number
=
1
;
...
@@ -3934,7 +3934,7 @@ int nxagentAdjustRandRXinerama(ScreenPtr pScreen)
...
@@ -3934,7 +3934,7 @@ int nxagentAdjustRandRXinerama(ScreenPtr pScreen)
output
=
pScrPriv
->
outputs
[
i
];
output
=
pScrPriv
->
outputs
[
i
];
}
}
#ifdef DEBUG
#ifdef DEBUG
fprintf
(
stderr
,
"nxagentAdjustRandRXinerama: adjusting output [%s]
\n
"
,
pScrPriv
->
outputs
[
i
]
->
name
);
fprintf
(
stderr
,
"nxagentAdjustRandRXinerama: adjusting output [%s]
\n
"
,
pScrPriv
->
outputs
[
i
]
->
name
);
#endif
#endif
RROutputSetCrtcs
(
output
,
&
(
pScrPriv
->
crtcs
[
i
]),
1
);
RROutputSetCrtcs
(
output
,
&
(
pScrPriv
->
crtcs
[
i
]),
1
);
/* FIXME: Isn't there a function for setting this? */
/* FIXME: Isn't there a function for setting this? */
...
@@ -3945,7 +3945,7 @@ int nxagentAdjustRandRXinerama(ScreenPtr pScreen)
...
@@ -3945,7 +3945,7 @@ int nxagentAdjustRandRXinerama(ScreenPtr pScreen)
RROutputSetPhysicalSize
(
output
,
0
,
0
);
RROutputSetPhysicalSize
(
output
,
0
,
0
);
}
}
for
(
i
=
0
;
i
<
pScrPriv
->
numOutputs
;
i
++
)
{
for
(
i
=
0
;
i
<
pScrPriv
->
numOutputs
;
i
++
)
{
Bool
disable_output
=
FALSE
;
Bool
disable_output
=
FALSE
;
RRModePtr
mymode
,
prevmode
;
RRModePtr
mymode
,
prevmode
;
int
new_x
,
new_y
;
int
new_x
,
new_y
;
...
@@ -4089,7 +4089,6 @@ int nxagentAdjustRandRXinerama(ScreenPtr pScreen)
...
@@ -4089,7 +4089,6 @@ int nxagentAdjustRandRXinerama(ScreenPtr pScreen)
/* throw away the mode if otherwise unused. We do not need it
/* throw away the mode if otherwise unused. We do not need it
anymore. We call FreeResource() to ensure the system will not
anymore. We call FreeResource() to ensure the system will not
try to free it again on shutdown */
try to free it again on shutdown */
if
(
prevmode
&&
prevmode
->
refcnt
==
1
)
{
if
(
prevmode
&&
prevmode
->
refcnt
==
1
)
{
#ifdef DEBUG
#ifdef DEBUG
fprintf
(
stderr
,
"nxagentAdjustRandRXinerama: destroying prevmode [%s]
\n
"
,
prevmode
->
name
);
fprintf
(
stderr
,
"nxagentAdjustRandRXinerama: destroying prevmode [%s]
\n
"
,
prevmode
->
name
);
...
...
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