diff options
| author | Kim F. Storm | 2003-05-27 23:30:10 +0000 |
|---|---|---|
| committer | Kim F. Storm | 2003-05-27 23:30:10 +0000 |
| commit | cc8549df68dfe45e2aed861937674f4ecc6f622d (patch) | |
| tree | bc8bda38b3082679b9e051fd9d0ab1d5bcfdeaad /src | |
| parent | 1963c4280b88d9e80688acf2c9e08c112a251dae (diff) | |
| download | emacs-cc8549df68dfe45e2aed861937674f4ecc6f622d.tar.gz emacs-cc8549df68dfe45e2aed861937674f4ecc6f622d.zip | |
(expose_window): Fix error in calculation of
window relative coordinates of area to redisplay.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xdisp.c | 4 |
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 |