summaryrefslogtreecommitdiff
path: root/src/macmenu.c
diff options
context:
space:
mode:
authorKim F. Storm <storm@cua.dk>2003-05-24 22:07:03 +0000
committerKim F. Storm <storm@cua.dk>2003-05-24 22:07:03 +0000
commit90022f5a3e142d08696bd4d73ac26c308aa762fd (patch)
tree9fabbb30a80273beb5fa8c0ebb1cd5325faa2dd9 /src/macmenu.c
parent03e4639645519fba65b1413339f741705bb79078 (diff)
downloademacs-90022f5a3e142d08696bd4d73ac26c308aa762fd.tar.gz
Make (few) trivial substitutions for renamed and
new macros in dispextern.h, frame.h and window.h.
Diffstat (limited to 'src/macmenu.c')
-rw-r--r--src/macmenu.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/macmenu.c b/src/macmenu.c
index 3958be9668d..166ef22a6e9 100644
--- a/src/macmenu.c
+++ b/src/macmenu.c
@@ -732,10 +732,8 @@ cached information about equivalent key sequences. */)
CHECK_LIVE_WINDOW (window);
f = XFRAME (WINDOW_FRAME (XWINDOW (window)));
- xpos = (FONT_WIDTH (FRAME_FONT (f))
- * XFASTINT (XWINDOW (window)->left));
- ypos = (FRAME_LINE_HEIGHT (f)
- * XFASTINT (XWINDOW (window)->top));
+ xpos = WINDOW_LEFT_EDGE_X (XWINDOW (window));
+ ypos = WINDOW_TOP_EDGE_Y (XWINDOW (window));
}
else
/* ??? Not really clean; should be CHECK_WINDOW_OR_FRAME,