From: Kim F. Storm Date: Fri, 21 Mar 2003 21:48:44 +0000 (+0000) Subject: (get_glyph_string_clip_rect): Use FRAME_INTERNAL_BORDER_WIDTH. X-Git-Tag: ttn-vms-21-2-B4~10804 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b4ebbb126b073d7fb352b95efffc29f03bd6176d;p=emacs.git (get_glyph_string_clip_rect): Use FRAME_INTERNAL_BORDER_WIDTH. --- diff --git a/src/xdisp.c b/src/xdisp.c index 5f3e34cec59..b15cea93d09 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -1579,7 +1579,7 @@ get_glyph_string_clip_rect (s, nr) /* 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 @@ display_and_set_cursor (w, on, hpos, vpos, x, y) 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); }