]> git.eshelyaron.com Git - emacs.git/commitdiff
(Fsun_menu_internal): Use new WINDOW_LEFT_MARGIN macro.
authorRichard M. Stallman <rms@gnu.org>
Sat, 21 Sep 1996 02:25:56 +0000 (02:25 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sat, 21 Sep 1996 02:25:56 +0000 (02:25 +0000)
src/sunfns.c

index e625a471feda4306775726435490537f7de8605b..6bfa479321d85fd461ff86133978166e2a15b6f9 100644 (file)
@@ -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];