]> code.delx.au - gnu-emacs/blobdiff - src/menu.c
Revert "Cleanup tooltips"
[gnu-emacs] / src / menu.c
index 675caff6b8877f5ad96bd654bdcc1e385cd5e6db..90bb19a2e94059d48ebf8c6a2fc36e093e97b984 100644 (file)
@@ -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  */