[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: address@hidden: Customize value menu doesn't recognize mouse-2]

From: Eli Zaretskii
Subject: Re: address@hidden: Customize value menu doesn't recognize mouse-2]
Date: Mon, 24 Jul 2006 23:12:14 +0300

> From: Chong Yidong <address@hidden>
> Date: Mon, 24 Jul 2006 15:19:20 -0400
> Cc: address@hidden
> > From: "Drew Adams" <address@hidden>
> > Subject: Customize value menu doesn't recognize mouse-2
> >
> > emacs -Q
> >
> > M-x customize-variable ad-default-compilation-action
> >
> > Click mouse-2 on button Value Menu. The menu opens. Try to click
> > mouse-2 on a menu item - the action is unrecognized.
> On GNU/Linux, with either GTK or no X toolkit, the value menu goes
> away when I release the mouse button; selection is done by holding the
> mouse button and moving the cursor over the menu item.  It works with
> both mouse-1 and mouse-2.
> Maybe this is Windows-specific behavior.

Yes, it is, and it's deliberate: as long as the menu is active, the
Windows version ignores the middle and the right mouse clicks; you
must use the left button only to select menu items.

This behavior was introduced by this change:

    2006-03-11  Eli Zaretskii  <address@hidden>

            * w32fns.c (w32_wnd_proc): Ignore middle and extra button events
            if a menu is already active (the menubar_active flag is on).

The reason was a much more annoying problem reported by Drew in this


Drew, I don't see any particular problem in asking Windows users to
click the left button, even if they are in a menu dropped by the right
button.  Do you?  (FWIW, I never select with the right button, even in
other GUI applications.)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]