unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* mouse-autoselect-window raises frames
@ 2007-10-10 18:41 Stefan Monnier
  2007-10-10 20:44 ` martin rudalics
  0 siblings, 1 reply; 12+ messages in thread
From: Stefan Monnier @ 2007-10-10 18:41 UTC (permalink / raw)
  To: emacs-devel


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)?

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2007-10-12  1:13 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-10 18:41 mouse-autoselect-window raises frames Stefan Monnier
2007-10-10 20:44 ` martin rudalics
2007-10-11  1:13   ` Stefan Monnier
2007-10-11  8:49     ` martin rudalics
2007-10-11 13:52       ` Stefan Monnier
2007-10-11 13:55         ` David Kastrup
2007-10-11 18:15         ` martin rudalics
2007-10-11 20:22           ` Stefan Monnier
2007-10-11 21:12             ` martin rudalics
2007-10-12  1:13               ` Stefan Monnier
2007-10-11 21:44             ` martin rudalics
2007-10-11 12:32     ` martin rudalics

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).