all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: Glenn Morris <rgm@gnu.org>
Cc: 1261@emacsbugs.donarmstrong.com, Stephen Berman <stephen.berman@gmx.net>
Subject: bug#1261: 23.0.60; diary-insert-entry and mouse-autoselect-window
Date: Tue, 04 Nov 2008 08:36:00 +0100	[thread overview]
Message-ID: <490FFB60.6030600@gmx.at> (raw)
In-Reply-To: <98prlcihem.fsf@fencepost.gnu.org>

 > So then I just printed XWINDOW(last_window) to stderr.
 >
 > It seems that the GTK toolkit associates a popup menu with the topmost
 > window in a frame, irrespective of which window the menu actually lies
 > in front of.

Would it help to check popup_activated, like

                 if (WINDOWP (window)
		    && !popup_activated ()
		    && !EQ (window, last_window)
		    && !EQ (window, selected_window)

in handle_one_xevent?

martin






  reply	other threads:[~2008-11-04  7:36 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-27 16:18 bug#1261: 23.0.60; diary-insert-entry and mouse-autoselect-window Stephen Berman
2008-10-27 17:25 ` martin rudalics
2008-10-27 20:42   ` Stephen Berman
2008-10-28  1:17     ` Stefan Monnier
2008-10-28  8:08     ` martin rudalics
2008-11-03 22:17       ` Glenn Morris
2008-11-04  7:36         ` martin rudalics [this message]
2008-11-04 18:51           ` Glenn Morris
2008-11-04 20:41             ` Stephen Berman
2008-10-27 21:34   ` Glenn Morris

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=490FFB60.6030600@gmx.at \
    --to=rudalics@gmx.at \
    --cc=1261@emacsbugs.donarmstrong.com \
    --cc=rgm@gnu.org \
    --cc=stephen.berman@gmx.net \
    /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.