mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-27 10:30:10 +01:00
Fix for off-by-one error in menu bar height calculation -- props to Nicholas Riley!
This commit is contained in:
parent
e5652a59f1
commit
826610d216
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue