emacs-devel
[Top][All Lists]
Advanced

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

Re: mouse-autoselect-window


From: martin rudalics
Subject: Re: mouse-autoselect-window
Date: Fri, 07 Sep 2007 10:32:20 +0200
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)

> My take on `focus-follows-mouse' is that it tells Emacs that it can make
> use of the hack of warping the mouse pointer in order to change the
> window manager frame focus.  With a click-to-focus window manager, this
> hack is not available, and consequently Emacs may be unable to change
> the window manager focus.

Do you mean that whether Emacs is able to warp the mouse pointer depends
on the policy of the window manager too?

> There is not really any completely correct way for Emacs to switch to a
> different frame.  Using XSetInputFocus certainly is not the correct way
> at all, because (a) window managers are likely to actively prevent such
> uses, since clients often misuse it,

... wouldn't this argument apply to a focus-follows-mouse policy too?

> and (b) it doesn't work if the
> window to which focus will be transfered is unmapped (iconified), which
> may be the case if the window manager has iconified it or
> "shaded/rolled" it, an action that a tiling or tabbing window manager
> may do routinely.

We do x_make_frame_invisible in this case.  Would that fail?





reply via email to

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