Commit 94c7f257 authored by Jason Rumney's avatar Jason Rumney
Browse files

(w32_menu_display_help): Suppress tooltip when navigating menus with

the keyboard.
parent d8a88581
2005-07-25 Jason Rumney <jasonr@gnu.org>
* w32menu.c (w32_menu_display_help): Suppress tooltip when
navigating menus with the keyboard.
2005-07-23 Richard M. Stallman <rms@gnu.org>
 
* insdel.c (syms_of_insdel): staticpro combine_after_change_buffer.
......
......@@ -2418,8 +2418,11 @@ w32_menu_display_help (HWND owner, HMENU menu, UINT item, UINT flags)
struct frame *f = x_window_to_frame (&one_w32_display_info, owner);
Lisp_Object frame, help;
/* No help echo on owner-draw menu items. */
if (flags & MF_OWNERDRAW || flags & MF_POPUP)
/* No help echo on owner-draw menu items, or when the keyboard is used
to navigate the menus, since tooltips are distracting if they pop
up elsewhere. */
if (flags & MF_OWNERDRAW || flags & MF_POPUP
|| !(flags & MF_MOUSESELECT))
help = Qnil;
else
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment