changeset 25462:19b101d6ee2a

(coordinates_in_window): Use FRAME_LEFT_FLAGS_AREA_WIDTH instead of FRAME_FLAGS_AREA_WIDTH. (window_internal_width): Subtract FRAME_FLAGS_AREA_WIDTH once instead of twice.
author Gerd Moellmann <gerd@gnu.org>
date Mon, 30 Aug 1999 23:14:27 +0000
parents 5aefa4d221ae
children 255017b70168
files src/window.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/window.c	Mon Aug 30 23:14:26 1999 +0000
+++ b/src/window.c	Mon Aug 30 23:14:27 1999 +0000
@@ -446,7 +446,7 @@
 {
   struct frame *f = XFRAME (WINDOW_FRAME (w));
   int left_x, right_x, top_y, bottom_y;
-  int flags_area_width = FRAME_FLAGS_AREA_WIDTH (f);
+  int flags_area_width = FRAME_LEFT_FLAGS_AREA_WIDTH (f);
 
   if (w->pseudo_window_p)
     {
@@ -3387,7 +3387,7 @@
   /* On window-systems, areas to the left and right of the window
      are used to display bitmaps there.  */
   if (FRAME_WINDOW_P (f))
-    width -= 2 * FRAME_FLAGS_AREA_COLS (f);
+    width -= FRAME_FLAGS_AREA_COLS (f);
 
   return width;
 }