changeset 28004:7e296e4ec801

(coordinates_in_window): Use FRAME_INTERNAL_BORDER_WIDTH_SAFE instead of FRAME_INTERNAL_BORDER_WIDTH.
author Gerd Moellmann <gerd@gnu.org>
date Sun, 05 Mar 2000 20:21:27 +0000
parents c75e18fc1a7a
children 3d09308536f2
files src/window.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/window.c	Sun Mar 05 20:20:28 2000 +0000
+++ b/src/window.c	Sun Mar 05 20:21:27 2000 +0000
@@ -468,10 +468,10 @@
   else
     {
       left_x = (WINDOW_DISPLAY_LEFT_EDGE_PIXEL_X (w)
-		- FRAME_INTERNAL_BORDER_WIDTH (f));
+		- FRAME_INTERNAL_BORDER_WIDTH_SAFE (f));
       right_x = WINDOW_DISPLAY_RIGHT_EDGE_PIXEL_X (w);
       top_y = (WINDOW_DISPLAY_TOP_EDGE_PIXEL_Y (w)
-	       - FRAME_INTERNAL_BORDER_WIDTH (f));
+	       - FRAME_INTERNAL_BORDER_WIDTH_SAFE (f));
       bottom_y = WINDOW_DISPLAY_BOTTOM_EDGE_PIXEL_Y (w);
     }