diff options
| author | Kim F. Storm | 2003-03-21 21:48:44 +0000 |
|---|---|---|
| committer | Kim F. Storm | 2003-03-21 21:48:44 +0000 |
| commit | b4ebbb126b073d7fb352b95efffc29f03bd6176d (patch) | |
| tree | 40bc65319a7c06d2a8f518b551efebf13c934038 /src | |
| parent | e5a3b7d9690daa0827ca68074c4fa904eb552e63 (diff) | |
| download | emacs-b4ebbb126b073d7fb352b95efffc29f03bd6176d.tar.gz emacs-b4ebbb126b073d7fb352b95efffc29f03bd6176d.zip | |
(get_glyph_string_clip_rect): Use FRAME_INTERNAL_BORDER_WIDTH.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xdisp.c | 7 |
1 files changed, 4 insertions, 3 deletions
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) | |||
| 1579 | /* If drawing a tool-bar window, draw it over the internal border | 1579 | /* If drawing a tool-bar window, draw it over the internal border |
| 1580 | at the top of the window. */ | 1580 | at the top of the window. */ |
| 1581 | if (s->w == XWINDOW (s->f->tool_bar_window)) | 1581 | if (s->w == XWINDOW (s->f->tool_bar_window)) |
| 1582 | r.y -= s->f->output_data.x->internal_border_width; | 1582 | r.y -= FRAME_INTERNAL_BORDER_WIDTH (s->f); |
| 1583 | } | 1583 | } |
| 1584 | 1584 | ||
| 1585 | r.y = WINDOW_TO_FRAME_PIXEL_Y (s->w, r.y); | 1585 | 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) | |||
| 18920 | w->phys_cursor.vpos = vpos; | 18920 | w->phys_cursor.vpos = vpos; |
| 18921 | } | 18921 | } |
| 18922 | 18922 | ||
| 18923 | rif->draw_window_cursor (w, glyph_row, on, x, y, | 18923 | rif->draw_window_cursor (w, glyph_row, x, y, |
| 18924 | new_cursor_type, new_cursor_width); | 18924 | new_cursor_type, new_cursor_width, |
| 18925 | on, active_cursor); | ||
| 18925 | } | 18926 | } |
| 18926 | 18927 | ||
| 18927 | 18928 | ||