mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 12:21:25 -08:00
(expose_window): Fix error in calculation of
window relative coordinates of area to redisplay.
This commit is contained in:
parent
1963c4280b
commit
cc8549df68
1 changed files with 2 additions and 2 deletions
|
|
@ -20283,8 +20283,8 @@ expose_window (w, fr)
|
|||
r.x, r.y, r.width, r.height));
|
||||
|
||||
/* Convert to window coordinates. */
|
||||
r.x = FRAME_TO_WINDOW_PIXEL_X (w, r.x);
|
||||
r.y = FRAME_TO_WINDOW_PIXEL_Y (w, r.y);
|
||||
r.x -= WINDOW_LEFT_EDGE_X (w);
|
||||
r.y -= WINDOW_TOP_EDGE_Y (w);
|
||||
|
||||
/* Turn off the cursor. */
|
||||
if (!w->pseudo_window_p
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue