Mercurial > emacs
changeset 50244:fef96ba449a2
(get_glyph_string_clip_rect): Use FRAME_INTERNAL_BORDER_WIDTH.
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Fri, 21 Mar 2003 21:48:44 +0000 |
parents | 3fb54e5a7201 |
children | 60d2db3594c3 |
files | src/xdisp.c |
diffstat | 1 files changed, 4 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xdisp.c Fri Mar 21 21:47:46 2003 +0000 +++ b/src/xdisp.c Fri Mar 21 21:48:44 2003 +0000 @@ -1579,7 +1579,7 @@ /* If drawing a tool-bar window, draw it over the internal border at the top of the window. */ if (s->w == XWINDOW (s->f->tool_bar_window)) - r.y -= s->f->output_data.x->internal_border_width; + r.y -= FRAME_INTERNAL_BORDER_WIDTH (s->f); } r.y = WINDOW_TO_FRAME_PIXEL_Y (s->w, r.y); @@ -18920,8 +18920,9 @@ w->phys_cursor.vpos = vpos; } - rif->draw_window_cursor (w, glyph_row, on, x, y, - new_cursor_type, new_cursor_width); + rif->draw_window_cursor (w, glyph_row, x, y, + new_cursor_type, new_cursor_width, + on, active_cursor); }