GNU bug report logs - #1261
23.0.60; diary-insert-entry and mouse-autoselect-window

Previous Next

Package: emacs;

Reported by: Stephen Berman <stephen.berman <at> gmx.net>

Date: Mon, 27 Oct 2008 16:25:04 UTC

Severity: normal

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #44 received at 1261 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Stephen Berman <stephen.berman <at> gmx.net>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 1261 <at> debbugs.gnu.org, martin rudalics <rudalics <at> gmx.at>
Subject: Re: bug#1261: 23.0.60; diary-insert-entry and mouse-autoselect-window
Date: Tue, 04 Nov 2008 21:41:19 +0100
On Tue, 04 Nov 2008 13:51:27 -0500 Glenn Morris <rgm <at> gnu.org> wrote:

> martin rudalics wrote:
>
>> 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?
>
> Not exactly like that, but with a tweak it seems to work (see below).
> It feels a bit like covering up the real problem (gtk associating
> popup with funny window), but I have no better solution; and indeed
> one probably does not want to switch windows when popups are active.
>
> I don't use mouse-autoselect-window, so Stephen please could you check
> this works ok?

I applied the patch and confirm that it fixes the problem.

Steve Berman




This bug report was last modified 16 years and 295 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.