Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
b32d320e
Commit
b32d320e
authored
Mar 02, 2006
by
Kenichi Handa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(x_set_glyph_string_clipping_exactly): Set
src->clip_head and src->clip_tail temporarily instead of src->hl.
parent
71db3621
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
src/xterm.c
src/xterm.c
+5
-3
No files found.
src/xterm.c
View file @
b32d320e
...
...
@@ -1185,11 +1185,13 @@ x_set_glyph_string_clipping_exactly (src, dst)
struct glyph_string *src, *dst;
{
XRectangle r;
enum draw_glyphs_face save = src->hl;
struct glyph_string *clip_head = src->clip_head;
struct glyph_string *clip_tail = src->clip_tail;
src->hl = DRAW_CURSOR; /* This foces clipping just this glyph. */
/* This foces clipping just this glyph string. */
src->clip_head = src->clip_tail = src;
get_glyph_string_clip_rect (src, &r);
src->
hl = save
;
src->
clip_head = clip_head, src->clip_tail = clip_tail
;
XSetClipRectangles (dst->display, dst->gc, 0, 0, &r, 1, Unsorted);
}
...
...
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