<div dir="ltr">Maybe check Chrome's "Multi-Screen Window Placement API" docs?<div><br></div><div><a href="https://www.chromestatus.com/feature/5252960583942144">https://www.chromestatus.com/feature/5252960583942144</a><br></div><div><br></div><div>Another idea would be to check what X11 window managers do - I think they do respect app's placement wishes.</div><div><br></div><div>No time to get into this atm unfortunately. </div><div><br></div><div>- Vanessa -</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Oct 13, 2020 at 12:50 PM Eliot Miranda <<a href="mailto:eliot.miranda@gmail.com">eliot.miranda@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div class="gmail_default"><font size="4" face="arial, sans-serif">Hi John, Hi Vanessa, Hi HostWindowPlugin folks,</font></div><div class="gmail_default"><font size="4" face="arial, sans-serif"><br></font></div><div class="gmail_default"><font size="4" face="arial, sans-serif">    I've managed to compute window rectangles for WindowEventMetricChange events correctly on macOS/Cocoa.  But I'm not sure whether the origin of a window includes its menu bar or not.</font></div><div class="gmail_default"><font size="4" face="arial, sans-serif"><br></font></div><div class="gmail_default"><font size="4" face="arial, sans-serif">So should the origin of  the Squeak Window be reported as the position relative to the top left of the Mac's main display of...</font></div><div class="gmail_default"><font size="4" face="arial, sans-serif">- the origin of the host window containing the Squeak window ?</font></div><div class="gmail_default"><font size="4" face="arial, sans-serif">- the origin of the Squeak display (which is menuBarHeight screen coordinates further down than the window origin) ?</font></div><div class="gmail_default"><font size="4" face="arial, sans-serif"><br></font></div><div class="gmail_default"><font size="4" face="arial, sans-serif">Similarly  should <span style="color:rgb(0,0,0)">the HostWindowPlugin report </span>window origins and sizes for the actual host window, or form the content of the window, offsetting downwards by the menu bar height?</font></div><div dir="ltr"><div dir="ltr"><div><span style="border-collapse:separate"><font size="4" face="arial, sans-serif"><div>_,,,^..^,,,_<br></div><div>best, Eliot</div></font></span></div></div></div></div></div>
</blockquote></div>