/[emacs]/emacs/src/macterm.c
ViewVC logotype

Diff of /emacs/src/macterm.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by akochoi, Sat May 4 13:31:56 2002 UTC revision 1.3 by kfstorm, Wed May 8 21:30:03 2002 UTC
# Line 4395  x_draw_image_foreground (s) Line 4395  x_draw_image_foreground (s)
4395               the image.  I believe it's looking better if we do               the image.  I believe it's looking better if we do
4396               nothing here for mouse-face.  */               nothing here for mouse-face.  */
4397            if (s->hl == DRAW_CURSOR)            if (s->hl == DRAW_CURSOR)
4398              mac_draw_rectangle (s->display, s->window, s->gc, x, y,              {
4399                                s->img->width - 1, s->img->height - 1);                int r = s->img->relief;
4400                  if (r < 0) r = -r;
4401                  mac_draw_rectangle (s->display, s->window, s->gc, x - r, y - r,
4402                                      s->img->width + r*2 - 1, s->img->height + r*2 - 1);
4403                }
4404          }          }
4405      }      }
4406    else    else
# Line 4514  x_draw_image_foreground_1 (s, pixmap) Line 4518  x_draw_image_foreground_1 (s, pixmap)
4518               the image.  I believe it's looking better if we do               the image.  I believe it's looking better if we do
4519               nothing here for mouse-face.  */               nothing here for mouse-face.  */
4520            if (s->hl == DRAW_CURSOR)            if (s->hl == DRAW_CURSOR)
4521              mac_draw_rectangle_to_pixmap (s->display, pixmap, s->gc, x, y,              {
4522                                        s->img->width - 1, s->img->height - 1);                int r = s->img->relief;
4523                  if (r < 0) r = -r;
4524                  mac_draw_rectangle_to_pixmap (s->display, pixmap, s->gc, x - r, y - r,
4525                                      s->img->width + r*2 - 1, s->img->height + r*2 - 1);
4526                }
4527          }          }
4528      }      }
4529    else    else

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26