From d52346760c2474b292144dbcdb803ee849723a82 Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Sat, 23 Aug 2008 21:08:27 +0000 Subject: [PATCH] Workaround for (what looks like) a bug in XQuartz on MacOS. --- v7/src/microcode/x11term.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/v7/src/microcode/x11term.c b/v7/src/microcode/x11term.c index ed4ebab63..762c5d59c 100644 --- a/v7/src/microcode/x11term.c +++ b/v7/src/microcode/x11term.c @@ -1,6 +1,6 @@ /* -*-C-*- -$Id: x11term.c,v 1.36 2008/01/30 20:02:23 cph Exp $ +$Id: x11term.c,v 1.37 2008/08/23 21:08:27 cph Exp $ Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, @@ -580,6 +580,9 @@ DEFINE_PRIMITIVE ("XTERM-SET-SIZE", Prim_xterm_set_size, 3, 3, 0) PRIMITIVE_HEADER (3); xw = (x_window_arg (1)); extra = (2 * (XW_INTERNAL_BORDER_WIDTH (xw))); +#ifdef __APPLE__ + extra += 1; +#endif font = (XW_FONT (xw)); XResizeWindow ((XW_DISPLAY (xw)), -- 2.25.1