summaryrefslogtreecommitdiff
path: root/src/menu.c
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2016-07-12 15:27:25 -0700
committerJohn Wiegley <johnw@newartisans.com>2016-07-12 15:27:25 -0700
commit54b7eb0dee2397f1430e81b7356f8efb19946ba0 (patch)
treea463da12f08f32dc78beb2f99a37eb1951f51a43 /src/menu.c
parent9c8c3a5478db6ff4b245e9128cbf24bd722ab1d6 (diff)
downloademacs-54b7eb0dee2397f1430e81b7356f8efb19946ba0.tar.gz
emacs-54b7eb0dee2397f1430e81b7356f8efb19946ba0.tar.bz2
emacs-54b7eb0dee2397f1430e81b7356f8efb19946ba0.zip
Revert "Cleanup tooltips"
This reverts commit 20038f8ab75dd1551412a43cd58520c483c22921. I am reverting this change because it was applied without prior discussion on emacs-devel, and has been found to break the NS port. It needs more testing and review before it should be applied here.
Diffstat (limited to 'src/menu.c')
-rw-r--r--src/menu.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/menu.c b/src/menu.c
index 675caff6b88..90bb19a2e94 100644
--- a/src/menu.c
+++ b/src/menu.c
@@ -1400,12 +1400,7 @@ no quit occurs and `x-popup-menu' returns nil. */)
#ifdef HAVE_WINDOW_SYSTEM
/* Hide a previous tip, if any. */
if (!FRAME_TERMCAP_P (f))
- {
- Lisp_Object frame;
-
- XSETFRAME (frame, f);
- Fx_hide_tip (frame);
- }
+ Fx_hide_tip ();
#endif
#ifdef HAVE_NTGUI /* FIXME: Is it really w32-specific? --Stef */