bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#1261: 23.0.60; diary-insert-entry and mouse-autoselect-window


From: martin rudalics
Subject: bug#1261: 23.0.60; diary-insert-entry and mouse-autoselect-window
Date: Tue, 04 Nov 2008 08:36:00 +0100
User-agent: Thunderbird 2.0.0.16 (Windows/20080708)

> 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 via email to

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