aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGerd Moellmann2000-09-18 13:18:16 +0000
committerGerd Moellmann2000-09-18 13:18:16 +0000
commitf9b5db025657d14d4066b366c18dc26860672246 (patch)
treef20e78277275738c2ba6876b16e2b643318d8044 /src
parentdd00328a08085779c84bfeb0e0f1d58c73f50f66 (diff)
downloademacs-f9b5db025657d14d4066b366c18dc26860672246.tar.gz
emacs-f9b5db025657d14d4066b366c18dc26860672246.zip
(x_draw_image_glyph_string): Remove a comment describing
a feature to implement that is already implemented. (note_mouse_highlight, x_find_ccl_program): Avoid some compiler warnings.
Diffstat (limited to 'src')
-rw-r--r--src/xterm.c14
1 files changed, 6 insertions, 8 deletions
diff --git a/src/xterm.c b/src/xterm.c
index 25e9d223ffb..f95d5b50ef5 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -3966,9 +3966,9 @@ x_draw_image_glyph_string (s)
3966 3966
3967 if (s->img->mask) 3967 if (s->img->mask)
3968 { 3968 {
3969 /* Create a pixmap as large as the glyph string Fill it with 3969 /* Create a pixmap as large as the glyph string. Fill it
3970 the background color. Copy the image to it, using its 3970 with the background color. Copy the image to it, using
3971 mask. Copy the temporary pixmap to the display. */ 3971 its mask. Copy the temporary pixmap to the display. */
3972 Screen *screen = FRAME_X_SCREEN (s->f); 3972 Screen *screen = FRAME_X_SCREEN (s->f);
3973 int depth = DefaultDepthOfScreen (screen); 3973 int depth = DefaultDepthOfScreen (screen);
3974 3974
@@ -4002,10 +4002,6 @@ x_draw_image_glyph_string (s)
4002 } 4002 }
4003 } 4003 }
4004 else 4004 else
4005 /* Implementation idea: Is it possible to construct a mask?
4006 We could look at the color at the margins of the image, and
4007 say that this color is probably the background color of the
4008 image. */
4009 x_draw_glyph_string_bg_rect (s, x, y, s->background_width, height); 4005 x_draw_glyph_string_bg_rect (s, x, y, s->background_width, height);
4010 4006
4011 s->background_filled_p = 1; 4007 s->background_filled_p = 1;
@@ -6670,7 +6666,7 @@ note_mouse_highlight (f, x, y)
6670 Lisp_Object help, overlay; 6666 Lisp_Object help, overlay;
6671 6667
6672 /* Check overlays first. */ 6668 /* Check overlays first. */
6673 help = Qnil; 6669 help = overlay = Qnil;
6674 for (i = noverlays - 1; i >= 0 && NILP (help); --i) 6670 for (i = noverlays - 1; i >= 0 && NILP (help); --i)
6675 { 6671 {
6676 overlay = overlay_vec[i]; 6672 overlay = overlay_vec[i];
@@ -13089,6 +13085,7 @@ x_find_ccl_program (fontp)
13089{ 13085{
13090 Lisp_Object list, elt; 13086 Lisp_Object list, elt;
13091 13087
13088 elt = Qnil;
13092 for (list = Vfont_ccl_encoder_alist; CONSP (list); list = XCDR (list)) 13089 for (list = Vfont_ccl_encoder_alist; CONSP (list); list = XCDR (list))
13093 { 13090 {
13094 elt = XCAR (list); 13091 elt = XCAR (list);
@@ -13098,6 +13095,7 @@ x_find_ccl_program (fontp)
13098 >= 0)) 13095 >= 0))
13099 break; 13096 break;
13100 } 13097 }
13098
13101 if (! NILP (list)) 13099 if (! NILP (list))
13102 { 13100 {
13103 struct ccl_program *ccl 13101 struct ccl_program *ccl