Commit cc8549df authored by Kim F. Storm's avatar Kim F. Storm
Browse files

(expose_window): Fix error in calculation of

window relative coordinates of area to redisplay.
parent 1963c428
......@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment