changeset 25458:803de6670aa5

(WINDOW_DISPLAY_PIXEL_WIDTH): Subtract FRAME_FLAGS_AREA_COLS once. (WINDOW_DISPLAY_LEFT_EDGE_PIXEL_X): Add FRAME_LEFT_FLAGS_AREA_WIDTH instead of FRAME_FLAGS_AREA_WIDTH.
author Gerd Moellmann <gerd@gnu.org>
date Mon, 30 Aug 1999 23:14:22 +0000
parents 7b6e8532268b
children 293b78b9ff60
files src/dispextern.h
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/dispextern.h	Mon Aug 30 22:50:53 1999 +0000
+++ b/src/dispextern.h	Mon Aug 30 23:14:22 1999 +0000
@@ -907,7 +907,7 @@
 #define WINDOW_DISPLAY_PIXEL_WIDTH(W)					\
      (((XFASTINT ((W)->width)						\
         - FRAME_SCROLL_BAR_WIDTH (XFRAME (WINDOW_FRAME ((W))))		\
-	- 2 * FRAME_FLAGS_AREA_COLS (XFRAME (WINDOW_FRAME ((W)))))	\
+	- FRAME_FLAGS_AREA_COLS (XFRAME (WINDOW_FRAME ((W)))))		\
        * CANON_X_UNIT (XFRAME (WINDOW_FRAME ((W))))))
 
 /* Height of the display region of W, including a mode line, if any.  */
@@ -951,7 +951,7 @@
      (FRAME_INTERNAL_BORDER_WIDTH_SAFE (XFRAME (WINDOW_FRAME ((W))))	\
       + (WINDOW_LEFT_MARGIN ((W))					\
          * CANON_X_UNIT (XFRAME (WINDOW_FRAME ((W)))))			\
-      + FRAME_FLAGS_AREA_WIDTH (XFRAME (WINDOW_FRAME ((W)))))
+      + FRAME_LEFT_FLAGS_AREA_WIDTH (XFRAME (WINDOW_FRAME ((W)))))
 
 /* Right edge of window W in pixels, relative to its frame.  */