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
dbdc9702
Commit
dbdc9702
authored
Dec 01, 2001
by
Gerd Moellmann
Browse files
(x_draw_fringe_bitmap): Always undo clipping.
parent
7ddb2c16
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
11 deletions
+12
-11
src/xterm.c
src/xterm.c
+12
-11
No files found.
src/xterm.c
View file @
dbdc9702
...
...
@@ -907,7 +907,7 @@ x_draw_fringe_bitmap (w, row, which, left_p)
/* Clear left fringe if no bitmap to draw or if bitmap doesn't fill
the fringe. */
b1 = -1;
b1 =
b2 =
-1;
if (left_p)
{
if (wd > FRAME_X_LEFT_FRINGE_WIDTH (f))
...
...
@@ -965,16 +965,17 @@ x_draw_fringe_bitmap (w, row, which, left_p)
XSetForeground (display, face->gc, face->foreground);
}
if (which == NO_FRINGE_BITMAP)
return;
/* Draw the bitmap. I believe these small pixmaps can be cached
by the server. */
pixmap = XCreatePixmapFromBitmapData (display, window, bits, wd, h,
face->foreground,
face->background, depth);
XCopyArea (display, pixmap, window, gc, 0, 0, wd, h, x, y + dy);
XFreePixmap (display, pixmap);
if (which != NO_FRINGE_BITMAP)
{
/* Draw the bitmap. I believe these small pixmaps can be cached
by the server. */
pixmap = XCreatePixmapFromBitmapData (display, window, bits, wd, h,
face->foreground,
face->background, depth);
XCopyArea (display, pixmap, window, gc, 0, 0, wd, h, x, y + dy);
XFreePixmap (display, pixmap);
}
XSetClipMask (display, gc, None);
}
...
...
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