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
fe887d68
Commit
fe887d68
authored
Mar 03, 2017
by
Ulrich Sibiller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Display.c: remove unused logo code
parent
2a6fcfc1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
37 deletions
+0
-37
Display.c
nx-X11/programs/Xserver/hw/nxagent/Display.c
+0
-37
No files found.
nx-X11/programs/Xserver/hw/nxagent/Display.c
View file @
fe887d68
...
...
@@ -169,7 +169,6 @@ Pixmap nxagentIconPixmap;
Pixmap
nxagentIconShape
;
Bool
useXpmIcon
=
False
;
unsigned
int
nxagentLogoColor
(
unsigned
int
value
);
Bool
nxagentMakeIcon
(
Display
*
display
,
Pixmap
*
nxIcon
,
Pixmap
*
nxMask
);
...
...
@@ -185,13 +184,6 @@ static int nxagentInitAndCheckVisuals(int flexibility);
static
int
nxagentCheckForColormapsCompatibility
(
int
flexibility
);
/*
* FIXME: These must definitely become local.
*/
XVisualInfo
pV
;
unsigned
int
r
,
b
,
g
,
or
,
ob
,
og
,
off
;
/*
* Save Internal implementation Also called in Reconnect.c.
*/
...
...
@@ -217,23 +209,6 @@ int nxagentServerOrder()
return
MSBFirst
;
}
unsigned
int
nxagentLogoColor
(
unsigned
int
value
)
{
/*
* Takes a color value in RGB24 (0xff0000, 0x00ff00,
* 0x0000ff) and converts it into an equivalent for
* the current visual.
*/
int
cr
=
0
,
cg
=
0
,
cb
=
0
;
cr
=
(
value
>>
or
)
&
r
;
cg
=
(
value
>>
(
og
-
8
))
&
g
;
cb
=
(
value
>>
(
ob
-
16
))
&
b
;
return
(
cr
|
cg
|
cb
);
}
/*
* FIXME: This error handler is not printing anything
* in the session log. This is OK once the session is
...
...
@@ -1412,12 +1387,6 @@ FIXME: Use of nxagentParentWindow is strongly deprecated.
DefaultScreen
(
nxagentDisplay
)
);
pV
=
nxagentVisuals
[
nxagentDefaultVisualIndex
];
r
=
pV
.
red_mask
;
g
=
pV
.
green_mask
;
b
=
pV
.
blue_mask
;
nxagentLogoBlack
=
0x000000
;
nxagentLogoRed
=
0xff0000
;
nxagentLogoWhite
=
0xffffff
;
...
...
@@ -2880,12 +2849,6 @@ Bool nxagentReconnectDisplay(void *p0)
nxagentLogoDepth
=
DefaultDepth
(
nxagentDisplay
,
DefaultScreen
(
nxagentDisplay
));
pV
=
nxagentVisuals
[
nxagentDefaultVisualIndex
];
r
=
pV
.
red_mask
;
g
=
pV
.
green_mask
;
b
=
pV
.
blue_mask
;
nxagentLogoBlack
=
0x000000
;
nxagentLogoRed
=
0xff0000
;
nxagentLogoWhite
=
0xffffff
;
...
...
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