From: Richard M. Stallman Date: Sat, 21 Sep 1996 02:25:56 +0000 (+0000) Subject: (Fsun_menu_internal): Use new WINDOW_LEFT_MARGIN macro. X-Git-Tag: emacs-20.1~3683 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=42bd6247dabf1ed548d0816330b52f66af219139;p=emacs.git (Fsun_menu_internal): Use new WINDOW_LEFT_MARGIN macro. --- diff --git a/src/sunfns.c b/src/sunfns.c index e625a471fed..6bfa479321d 100644 --- a/src/sunfns.c +++ b/src/sunfns.c @@ -453,7 +453,7 @@ as a menu label.") CHECK_GFX (Qnil); - xpos = CtoSX (XWINDOW(window)->left + XINT(X_Position)); + xpos = CtoSX (WINDOW_LEFT_MARGIN (XWINDOW (window)) + XINT(X_Position)); ypos = CtoSY (XWINDOW(window)->top + XINT(Y_Position)); #ifdef Menu_Base_Kludge {static Lisp_Object symbol[2];