aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim F. Storm2003-05-27 23:30:10 +0000
committerKim F. Storm2003-05-27 23:30:10 +0000
commitcc8549df68dfe45e2aed861937674f4ecc6f622d (patch)
treebc8bda38b3082679b9e051fd9d0ab1d5bcfdeaad
parent1963c4280b88d9e80688acf2c9e08c112a251dae (diff)
downloademacs-cc8549df68dfe45e2aed861937674f4ecc6f622d.tar.gz
emacs-cc8549df68dfe45e2aed861937674f4ecc6f622d.zip
(expose_window): Fix error in calculation of
window relative coordinates of area to redisplay.
-rw-r--r--src/xdisp.c4
1 files changed, 2 insertions, 2 deletions
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)
20283 r.x, r.y, r.width, r.height)); 20283 r.x, r.y, r.width, r.height));
20284 20284
20285 /* Convert to window coordinates. */ 20285 /* Convert to window coordinates. */
20286 r.x = FRAME_TO_WINDOW_PIXEL_X (w, r.x); 20286 r.x -= WINDOW_LEFT_EDGE_X (w);
20287 r.y = FRAME_TO_WINDOW_PIXEL_Y (w, r.y); 20287 r.y -= WINDOW_TOP_EDGE_Y (w);
20288 20288
20289 /* Turn off the cursor. */ 20289 /* Turn off the cursor. */
20290 if (!w->pseudo_window_p 20290 if (!w->pseudo_window_p