From: Kim F. Storm Date: Tue, 27 May 2003 23:30:10 +0000 (+0000) Subject: (expose_window): Fix error in calculation of X-Git-Tag: ttn-vms-21-2-B4~9911 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=cc8549df68dfe45e2aed861937674f4ecc6f622d;p=emacs.git (expose_window): Fix error in calculation of window relative coordinates of area to redisplay. --- diff --git a/src/xdisp.c b/src/xdisp.c index 038d0694bca..6517d07b2ed 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -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