Commit 81159bb9 authored by Richard M. Stallman's avatar Richard M. Stallman

(Fcoordinates_in_window_p): Take account of FRAME_INTERNAL_BORDER_WIDTH.

parent e3e56238
2004-07-25 Richard M. Stallman <rms@gnu.org>
* window.c (Fcoordinates_in_window_p):
Take account of FRAME_INTERNAL_BORDER_WIDTH.
* alloc.c (check_cons_list): New function (contents commented out).
2004-07-24 Luc Teirlinck <teirllm@auburn.edu>
* xfaces.c (Fcolor_supported_p): Doc fix.
......
......@@ -783,8 +783,8 @@ If they are in the windows's left or right marginal areas, `left-margin'\n\
ly = Fcdr (coordinates);
CHECK_NUMBER_OR_FLOAT (lx);
CHECK_NUMBER_OR_FLOAT (ly);
x = FRAME_PIXEL_X_FROM_CANON_X (f, lx);
y = FRAME_PIXEL_Y_FROM_CANON_Y (f, ly);
x = FRAME_PIXEL_X_FROM_CANON_X (f, lx) + FRAME_INTERNAL_BORDER_WIDTH (f);
y = FRAME_PIXEL_Y_FROM_CANON_Y (f, ly) + FRAME_INTERNAL_BORDER_WIDTH (f);
switch (coordinates_in_window (w, &x, &y))
{
......
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