aboutsummaryrefslogtreecommitdiffstats
path: root/src/menu.c
diff options
context:
space:
mode:
authorDavid Reitter2009-11-12 00:26:09 +0000
committerDavid Reitter2009-11-12 00:26:09 +0000
commitcf54c75498fb4cbef5c00f2f30574640ff727dcd (patch)
treebbbd7907c3febb71bce9bff996f811f592005392 /src/menu.c
parent9143355208b29540112fd1d4810d44b04b5486cc (diff)
downloademacs-cf54c75498fb4cbef5c00f2f30574640ff727dcd.tar.gz
emacs-cf54c75498fb4cbef5c00f2f30574640ff727dcd.zip
menu.c (Fx_popup_menu): Remove left-over debugging code and rename variables to fix 2009-11-09 change.
Diffstat (limited to 'src/menu.c')
-rw-r--r--src/menu.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/menu.c b/src/menu.c
index 44eebe8dbe7..313327d4721 100644
--- a/src/menu.c
+++ b/src/menu.c
@@ -1074,10 +1074,6 @@ no quit occurs and `x-popup-menu' returns nil. */)
1074 Lisp_Object timestamp = Qnil; 1074 Lisp_Object timestamp = Qnil;
1075 struct gcpro gcpro1; 1075 struct gcpro gcpro1;
1076 1076
1077#ifdef HAVE_NS
1078 NSTRACE (ns_popup_menu);
1079#endif
1080
1081 if (NILP (position)) 1077 if (NILP (position))
1082 /* This is an obsolete call, which wants us to precompute the 1078 /* This is an obsolete call, which wants us to precompute the
1083 keybinding equivalents, but we don't do that any more anyway. */ 1079 keybinding equivalents, but we don't do that any more anyway. */
@@ -1187,8 +1183,8 @@ no quit occurs and `x-popup-menu' returns nil. */)
1187 f = XFRAME (WINDOW_FRAME (win)); 1183 f = XFRAME (WINDOW_FRAME (win));
1188 1184
1189#ifdef HAVE_NS /* FIXME: Is this necessary?? --Stef */ 1185#ifdef HAVE_NS /* FIXME: Is this necessary?? --Stef */
1190 p.x = FRAME_COLUMN_WIDTH (f) * WINDOW_LEFT_EDGE_COL (win); 1186 xpos = FRAME_COLUMN_WIDTH (f) * WINDOW_LEFT_EDGE_COL (win);
1191 p.y = FRAME_LINE_HEIGHT (f) * WINDOW_TOP_EDGE_LINE (win); 1187 ypos = FRAME_LINE_HEIGHT (f) * WINDOW_TOP_EDGE_LINE (win);
1192#else 1188#else
1193 xpos = WINDOW_LEFT_EDGE_X (win); 1189 xpos = WINDOW_LEFT_EDGE_X (win);
1194 ypos = WINDOW_TOP_EDGE_Y (win); 1190 ypos = WINDOW_TOP_EDGE_Y (win);