[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
mouse-autoselect-window raises frames
From: |
Stefan Monnier |
Subject: |
mouse-autoselect-window raises frames |
Date: |
Wed, 10 Oct 2007 14:41: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.
Stefan
PS: BTW, select-frame-set-input-focus has a typo in that it checks for
a window-system called `max'. Should that be `mac' or `mac-carbon' or maybe
(fboundp 'x-focus-frame)?
- mouse-autoselect-window raises frames,
Stefan Monnier <=
- Re: mouse-autoselect-window raises frames, martin rudalics, 2007/10/10
- Re: mouse-autoselect-window raises frames, Stefan Monnier, 2007/10/10
- Re: mouse-autoselect-window raises frames, martin rudalics, 2007/10/11
- Re: mouse-autoselect-window raises frames, Stefan Monnier, 2007/10/11
- Re: mouse-autoselect-window raises frames, David Kastrup, 2007/10/11
- Re: mouse-autoselect-window raises frames, martin rudalics, 2007/10/11
- Re: mouse-autoselect-window raises frames, Stefan Monnier, 2007/10/11
- Re: mouse-autoselect-window raises frames, martin rudalics, 2007/10/11
- Re: mouse-autoselect-window raises frames, Stefan Monnier, 2007/10/11
- Re: mouse-autoselect-window raises frames, martin rudalics, 2007/10/11