On Tue, Oct 3, 2017 at 2:42 PM, Eli Zaretskii wrote: > > From: Robert Weiner > > Date: Tue, 3 Oct 2017 14:21:43 -0400 > > Cc: Eli Zaretskii > > > > I start with the mouse within a window of f1 and selected frame of f1; > (mouse-position) also reports f1. > > > > I click mouse-1 in an Emacs window of f2 and leave it there. > > (selected-frame) is now f2 > > macOS window manager highlights f2 as active window > > (frame-focus) returns nil > > (mouse-position) reports a frame of f1 <<< WRONG > > Sounds like something that's macOS specific. At least on MS-Windows I > cannot reproduce this: mouse-position returns the correct frame. > ​Ok, that is good to know. Is there a go to person for the Mac-specific windowing code to check on this with? Could someone check when running X with a click-for-focus window manager setting and see what happens there? Bob