mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-28 23:50:08 +01:00
Fix for off-by-one error in menu bar height calculation -- props to Nicholas Riley!
This commit is contained in:
parent
b4d1448405
commit
bd269d0d78
1 changed files with 1 additions and 1 deletions
|
|
@ -819,7 +819,7 @@ void 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)) {
|
||||
ErrorF("can't create secondary thread\n");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue