Fix for off-by-one error in menu bar height calculation -- props to Nicholas Riley!
This commit is contained in:
parent
d02506764a
commit
db8cd4429d
@ -922,7 +922,7 @@ X11ApplicationMain (int argc, const char *argv[],
|
||||
|
||||
/* Calculate the height of the menubar so we can avoid it. */
|
||||
aquaMenuBarHeight = NSHeight([[NSScreen mainScreen] frame]) -
|
||||
NSMaxY([[NSScreen mainScreen] visibleFrame]) - 1;
|
||||
NSMaxY([[NSScreen mainScreen] visibleFrame]);
|
||||
|
||||
if (!create_thread (server_thread, server_arg))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user