Apparently what doesn't work is (select-frame-set-input-focus), which might have something to do with calendar appearing in a separate frame depending on the value of calendar-setup. 
Meaning it's probably either an emacs bug, an xmonad bug or a xinerama bug.


On Sun, Jan 6, 2013 at 8:46 AM, E Sabof <esabof@gmail.com> wrote:
In emacs -Q
(setq mouse-autoselect-window t)
M-x org-mode
C-c .
The cursor will move.

Sometimes it will move the cursor on top of another frame, which will become active on my computer, since my window manager is also cursor-sensitive.



On Sun, Jan 6, 2013 at 7:58 AM, Bastien <bzg@altern.org> wrote:
Hi,

E Sabof <esabof@gmail.com> writes:

> The culprit has proved to be the last line of this function, which I
> commented out in my config:

Please provide a way to reproduce the bug.

Thanks,

--
 Bastien