mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-23 13:02:00 -08:00
(show_mouse_face): Fix bug setting a row's
mouse_face_p flag unconditionally. (x_scroll_run): Revert to BitBlt.
This commit is contained in:
parent
aa2f4a9cc8
commit
f3f6315be6
2 changed files with 22 additions and 1 deletions
|
|
@ -1,3 +1,9 @@
|
|||
2002-02-11 Jason Rumney <jasonr@gnu.org>
|
||||
|
||||
* w32term.c (show_mouse_face): Fix bug setting a row's
|
||||
mouse_face_p flag unconditionally.
|
||||
(x_scroll_run): Revert to BitBlt.
|
||||
|
||||
2002-02-09 Jason Rumney <jasonr@gnu.org>
|
||||
|
||||
* w32fns.c (enum_font_cb2): Don't let charsets unknown to Windows
|
||||
|
|
|
|||
|
|
@ -5524,6 +5524,13 @@ x_scroll_run (w, run)
|
|||
updated_window = w;
|
||||
x_clear_cursor (w);
|
||||
|
||||
#if 0
|
||||
/* The following fixes a bug where Emacs is partially obscured by
|
||||
another Window. It works perfectly in the CVS head, but leaves
|
||||
a false cursor behind under certain conditions in 21.2. It's not
|
||||
obvious why, but the blinking cursor seems to pause for an extra
|
||||
second after scrolling in 21.2, and it is when the cursor is moved
|
||||
within that brief period that it gets left behind. */
|
||||
{
|
||||
RECT from;
|
||||
RECT to;
|
||||
|
|
@ -5548,6 +5555,13 @@ x_scroll_run (w, run)
|
|||
if (!EqualRgn (combined, expect_dirty))
|
||||
SET_FRAME_GARBAGED (f);
|
||||
}
|
||||
#else
|
||||
{
|
||||
HDC hdc = get_frame_dc (f);
|
||||
BitBlt (hdc, x, to_y, width, height, hdc, x, from_y, SRCCOPY);
|
||||
release_frame_dc (f, hdc);
|
||||
}
|
||||
#endif
|
||||
|
||||
UNBLOCK_INPUT;
|
||||
}
|
||||
|
|
@ -7391,7 +7405,8 @@ show_mouse_face (dpyinfo, draw)
|
|||
x_draw_glyphs (w, start_x, row, TEXT_AREA,
|
||||
start_hpos, end_hpos, draw, 0);
|
||||
|
||||
row->mouse_face_p = draw == DRAW_MOUSE_FACE || DRAW_IMAGE_RAISED;
|
||||
row->mouse_face_p
|
||||
= draw == DRAW_MOUSE_FACE || draw == DRAW_IMAGE_RAISED;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue