5524 |
updated_window = w; |
updated_window = w; |
5525 |
x_clear_cursor (w); |
x_clear_cursor (w); |
5526 |
|
|
5527 |
|
#if 0 |
5528 |
|
/* The following fixes a bug where Emacs is partially obscured by |
5529 |
|
another Window. It works perfectly in the CVS head, but leaves |
5530 |
|
a false cursor behind under certain conditions in 21.2. It's not |
5531 |
|
obvious why, but the blinking cursor seems to pause for an extra |
5532 |
|
second after scrolling in 21.2, and it is when the cursor is moved |
5533 |
|
within that brief period that it gets left behind. */ |
5534 |
{ |
{ |
5535 |
RECT from; |
RECT from; |
5536 |
RECT to; |
RECT to; |
5555 |
if (!EqualRgn (combined, expect_dirty)) |
if (!EqualRgn (combined, expect_dirty)) |
5556 |
SET_FRAME_GARBAGED (f); |
SET_FRAME_GARBAGED (f); |
5557 |
} |
} |
5558 |
|
#else |
5559 |
|
{ |
5560 |
|
HDC hdc = get_frame_dc (f); |
5561 |
|
BitBlt (hdc, x, to_y, width, height, hdc, x, from_y, SRCCOPY); |
5562 |
|
release_frame_dc (f, hdc); |
5563 |
|
} |
5564 |
|
#endif |
5565 |
|
|
5566 |
UNBLOCK_INPUT; |
UNBLOCK_INPUT; |
5567 |
} |
} |
7405 |
x_draw_glyphs (w, start_x, row, TEXT_AREA, |
x_draw_glyphs (w, start_x, row, TEXT_AREA, |
7406 |
start_hpos, end_hpos, draw, 0); |
start_hpos, end_hpos, draw, 0); |
7407 |
|
|
7408 |
row->mouse_face_p = draw == DRAW_MOUSE_FACE || DRAW_IMAGE_RAISED; |
row->mouse_face_p |
7409 |
|
= draw == DRAW_MOUSE_FACE || draw == DRAW_IMAGE_RAISED; |
7410 |
} |
} |
7411 |
} |
} |
7412 |
|
|