changeset 41479:0e62af35f244

(FRAME_X_FRINGE_COLS): No fringe on tip frames.
author Jason Rumney <jasonr@gnu.org>
date Sun, 25 Nov 2001 11:01:10 +0000
parents 026c44f15054
children 2c71c672b3c7
files src/w32term.h
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/w32term.h	Sun Nov 25 10:57:45 2001 +0000
+++ b/src/w32term.h	Sun Nov 25 11:01:10 2001 +0000
@@ -481,7 +481,8 @@
    able to split windows horizontally nicely.  */
 
 #define FRAME_X_FRINGE_COLS(F)				\
-     ((2 * FRAME_FRINGE_BITMAP_WIDTH ((F)) + CANON_X_UNIT ((F)) - 1)	\
+     ((F) == XFRAME (tip_frame) ? 0 :                   \
+      (2 * FRAME_FRINGE_BITMAP_WIDTH ((F)) + CANON_X_UNIT ((F)) - 1)	\
       / CANON_X_UNIT ((F)))
 
 /* Total width of fringes in pixels.  */