Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
95887807
Commit
95887807
authored
Oct 17, 1994
by
Richard M. Stallman
Browse files
(intern_face): Update mask properly to set stipple
and fill_style. Set everything all at once in XCreateGC.
parent
990ba854
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
src/xfaces.c
src/xfaces.c
+5
-4
No files found.
src/xfaces.c
View file @
95887807
...
...
@@ -240,14 +240,15 @@ intern_face (f, face)
mask
=
GCForeground
|
GCBackground
|
GCFont
|
GCGraphicsExposures
;
if
(
face
->
stipple
&&
face
->
stipple
!=
FACE_DEFAULT
)
xgcv
.
fill_style
=
FillStippled
;
{
xgcv
.
fill_style
=
FillStippled
;
xgcv
.
stipple
=
x_bitmap_pixmap
(
f
,
face
->
stipple
);
mask
|=
GCFillStyle
|
GCStipple
;
}
gc
=
XCreateGC
(
FRAME_X_DISPLAY
(
f
),
FRAME_X_WINDOW
(
f
),
mask
,
&
xgcv
);
if
(
face
->
stipple
&&
face
->
stipple
!=
FACE_DEFAULT
)
XSetStipple
(
FRAME_X_DISPLAY
(
f
),
gc
,
x_bitmap_pixmap
(
f
,
face
->
stipple
));
face
->
gc
=
gc
;
UNBLOCK_INPUT
;
...
...
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