emacs-devel
[Top][All Lists]
Advanced

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

Re: mouse-autoselect-window raises frames


From: Stefan Monnier
Subject: Re: mouse-autoselect-window raises frames
Date: Wed, 10 Oct 2007 21:13:42 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.50 (gnu/linux)

>> I started to see frames raised while I was just moving my mouse.
>> Placing `debug-on-entry' on `raise-frame' showed the problem to be:
>> 
>> Debugger entered--entering a function:
>> * raise-frame(#<frame cast.v8 0x8eba878>)
>> select-frame-set-input-focus(#<frame cast.v8 0x8eba878>)
>> handle-select-window((select-window (#<window 14 on cast.v8>)))
>> call-interactively(handle-select-window nil nil)
>> 
>> I think the problem is that handle-select-window shouldn't call
>> select-frame-set-input-focus.  It should maybe call x-focus-frame instead.

> Would that really be less embarassing?

I'm not sure I understand what you mean.

> What are the values of `mouse-autoselect-window' and `focus-follows-mouse'
> on your system?

Both, but that's not relevant: handle-select-window should never call
"raise-frame".


        Stefan




reply via email to

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