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
82b05d81
Commit
82b05d81
authored
Feb 13, 2004
by
Kim F. Storm
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(x_draw_fringe_bitmap): Handle wider bitmaps (max 16 bits).
parent
7e46b7bf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
src/xterm.c
src/xterm.c
+6
-1
No files found.
src/xterm.c
View file @
82b05d81
...
...
@@ -735,11 +735,16 @@ x_draw_fringe_bitmap (w, row, p)
if (p->which)
{
unsigned char *bits
= p->bits + p->dh
;
unsigned char *bits;
Pixmap pixmap, clipmask = (Pixmap) 0;
int depth = DefaultDepthOfScreen (FRAME_X_SCREEN (f));
XGCValues gcv;
if (p->wd > 8)
bits = (unsigned char *)(p->bits + p->dh);
else
bits = (unsigned char *)p->bits + p->dh;
/* Draw the bitmap. I believe these small pixmaps can be cached
by the server. */
pixmap = XCreatePixmapFromBitmapData (display, window, bits, p->wd, p->h,
...
...
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