all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: martin rudalics <rudalics@gmx.at>
Cc: emacs-devel@gnu.org
Subject: Re: mouse-autoselect-window raises frames
Date: Thu, 11 Oct 2007 16:22:54 -0400	[thread overview]
Message-ID: <jwvodf59zj6.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <470E682F.7090007@gmx.at> (martin rudalics's message of "Thu\, 11 Oct 2007 20\:15\:11 +0200")

>> I do want mouse autoselection.  And changing focus-follows-mouse has no
>> effect w.r.t this problem.
> `focus-follows-mouse' nil should inhibit selecting and subsequently
> raising another frame.  If it doesn't it's a bug.

I saw the same problem with focus-follows-mouse set to nil, so I guess there
is a bug.

> The problem is that mouse movement also generates a switch-frame event
> which is equally disturbing.

Why should it be disturbing?  AFAIK all it does is `select-frame', right?

> But I'm already convinced that there's no reason to either focus or raise
> the frame in `handle-select-window'.

Great ;-)

>> If the window-manager wants to raise the window in order to give it focus,
>> that's "OK" (it would piss me off, but that's why I don't use such a window
>> manager).  But it's not OK for Emacs to do that.

> An auto-raise window-manager doesn't raise the window in order to give
> it focus but simply in order to avoid changing the position of `point'
> (as you would do with a mouse click) when you want to switch to a
> specific window with the mouse.

I was thinking of the WM raising the window not because of auto-raise but
because of click-to-focus and more generally because it wants to impose
a policy where "focus'd frame is never behind another".


        Stefan

  reply	other threads:[~2007-10-11 20:22 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvodf59zj6.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=rudalics@gmx.at \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.