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
fcbd2710
Commit
fcbd2710
authored
Jun 12, 2019
by
Ulrich Sibiller
Committed by
Mike Gabriel
Nov 02, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
NXglyph.c: mark NX changes
parent
67b03f5d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
NXglyph.c
nx-X11/programs/Xserver/hw/nxagent/NXglyph.c
+8
-1
No files found.
nx-X11/programs/Xserver/hw/nxagent/NXglyph.c
View file @
fcbd2710
...
...
@@ -274,18 +274,21 @@ miGlyphs (CARD8 op,
BoxRec
extents
;
CARD32
component_alpha
;
#ifdef NXAGENT_SERVER
/*
* Get rid of the warning.
*/
extents
.
x1
=
0
;
extents
.
y1
=
0
;
#endif
if
(
maskFormat
)
{
GCPtr
pGC
;
xRectangle
rect
;
#ifdef NXAGENT_SERVER
if
(
nxagentGlyphsExtents
!=
NullBox
)
{
memcpy
(
&
extents
,
nxagentGlyphsExtents
,
sizeof
(
BoxRec
));
...
...
@@ -298,6 +301,9 @@ miGlyphs (CARD8 op,
memcpy
(
nxagentGlyphsExtents
,
&
extents
,
sizeof
(
BoxRec
));
}
#else
GlyphExtents
(
nlist
,
list
,
glyphs
,
&
extents
);
#endif
if
(
extents
.
x2
<=
extents
.
x1
||
extents
.
y2
<=
extents
.
y1
)
return
;
...
...
@@ -369,6 +375,7 @@ miGlyphs (CARD8 op,
glyph
->
info
.
width
,
glyph
->
info
.
height
,
0
,
0
,
-
1
,
(
void
*
)
(
glyph
+
1
));
#ifdef NXAGENT_SERVER
/*
* The following line fixes a problem with glyphs that appeared
* as clipped. It was a side effect due the validate function
...
...
@@ -378,7 +385,7 @@ miGlyphs (CARD8 op,
*/
pPicture
->
pDrawable
->
serialNumber
=
NEXT_SERIAL_NUMBER
;
#endif
pPixmap
->
drawable
.
serialNumber
=
NEXT_SERIAL_NUMBER
;
if
(
maskFormat
)
{
...
...
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