From: Jason Rumney <jasonr@gnu.org>
Cc: rms@gnu.org, emacs-devel@gnu.org
Subject: Re: [drew.adams@oracle.com: mouse-2 on menu item yanks into current buffer]
Date: Sat, 11 Mar 2006 14:43:22 +0000 [thread overview]
Message-ID: <u3bhp2gad.fsf@jasonrumney.net> (raw)
In-Reply-To: <uveululvb.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 11 Mar 2006 15:55:20 +0200")
Eli Zaretskii <eliz@gnu.org> writes:
> Would Windows GUI gurus please look at the patch below and tell if
> it's the right one? It does seem to fix the problem for me (on
> Windows XP):
Can you try it with just the final segment of your patch. The right
button seems to already be filtered out by the system (or somewhere
else in Emacs I haven't noticed), so the code to ignore the right
button is superfluous I think.
> Index: src/w32fns.c
> ===================================================================
> RCS file: /cvsroot/emacs/emacs/src/w32fns.c,v
> retrieving revision 1.262
> diff -u -p -r1.262 w32fns.c
> --- src/w32fns.c 6 Feb 2006 15:23:22 -0000 1.262
> +++ src/w32fns.c 11 Mar 2006 13:52:50 -0000
> @@ -3250,6 +3260,11 @@ w32_wnd_proc (hwnd, msg, wParam, lParam)
> BOOL up;
> int button;
>
> + /* Ignore middle and extra buttons as long as the menu is active. */
> + f = x_window_to_frame (dpyinfo, hwnd);
> + if (f && f->output_data.w32->menubar_active)
> + return 0;
> +
> if (parse_button (msg, HIWORD (wParam), &button, &up))
> {
> if (up) ReleaseCapture ();
next prev parent reply other threads:[~2006-03-11 14:43 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-06 0:51 [drew.adams@oracle.com: mouse-2 on menu item yanks into current buffer] Richard Stallman
2006-03-06 9:16 ` Kim F. Storm
2006-03-06 16:21 ` Drew Adams
2006-03-11 13:55 ` Eli Zaretskii
2006-03-11 14:43 ` Jason Rumney [this message]
2006-03-11 16:32 ` Eli Zaretskii
2006-03-11 17:28 ` [drew.adams@oracle.com: mouse-2 on menu item yanks into currentbuffer] Drew Adams
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=u3bhp2gad.fsf@jasonrumney.net \
--to=jasonr@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=rms@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.