aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJason Rumney2001-02-23 10:17:41 +0000
committerJason Rumney2001-02-23 10:17:41 +0000
commit5b844253e19a9a3d56e2c07a20101bc44178492e (patch)
tree9e5b36c6a79f82ce2ab7aa39f26d9a9279875ad4 /src
parentb9f152ce39d4a003c445fbc1a53e689c8c38b497 (diff)
downloademacs-5b844253e19a9a3d56e2c07a20101bc44178492e.tar.gz
emacs-5b844253e19a9a3d56e2c07a20101bc44178492e.zip
* w32term.c (x_set_glyph_string_background_width): Extend the
background face to the end of the drawing area in the text area, only. (x_insert_glyphs): Call window_box_left to obtain the left x-coordinate of the area to shift.
Diffstat (limited to 'src')
-rw-r--r--src/w32term.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/w32term.c b/src/w32term.c
index 11c9fc85edc..2c9110f49d5 100644
--- a/src/w32term.c
+++ b/src/w32term.c
@@ -4663,7 +4663,8 @@ x_set_glyph_string_background_width (s, start, last_x)
4663 4663
4664 if (start == s->row->used[s->area] 4664 if (start == s->row->used[s->area]
4665 && s->hl == DRAW_NORMAL_TEXT 4665 && s->hl == DRAW_NORMAL_TEXT
4666 && ((s->area == TEXT_AREA && s->row->fill_line_p) 4666 && s->area == TEXT_AREA
4667 && (s->row->fill_line_p
4667 || s->face->background != default_face->background 4668 || s->face->background != default_face->background
4668 || s->face->stipple != default_face->stipple)) 4669 || s->face->stipple != default_face->stipple))
4669 s->extends_to_end_of_line_p = 1; 4670 s->extends_to_end_of_line_p = 1;
@@ -5184,7 +5185,7 @@ x_insert_glyphs (start, len)
5184 - shift_by_width); 5185 - shift_by_width);
5185 5186
5186 /* Shift right. */ 5187 /* Shift right. */
5187 frame_x = WINDOW_TO_FRAME_PIXEL_X (w, output_cursor.x); 5188 frame_x = window_box_left (w, updated_area) + output_cursor.x;
5188 frame_y = WINDOW_TO_FRAME_PIXEL_Y (w, output_cursor.y); 5189 frame_y = WINDOW_TO_FRAME_PIXEL_Y (w, output_cursor.y);
5189 BitBlt (hdc, frame_x + shift_by_width, frame_y, 5190 BitBlt (hdc, frame_x + shift_by_width, frame_y,
5190 shifted_region_width, line_height, 5191 shifted_region_width, line_height,
@@ -8229,7 +8230,7 @@ w32_read_socket (sd, bufp, numchars, expected)
8229 { 8230 {
8230 /* If we move outside the frame, then we're 8231 /* If we move outside the frame, then we're
8231 certainly no longer on any text in the frame. */ 8232 certainly no longer on any text in the frame. */
8232 clear_mouse_face (FRAME_W32_DISPLAY_INFO (f)); 8233 clear_mouse_face (dpyinfo);
8233 } 8234 }
8234 8235
8235 /* If the contents of the global variable help_echo 8236 /* If the contents of the global variable help_echo