From nobody Mon Jul 21 02:13:50 2025 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4blkTq2w4Zz61xp4; Mon, 21 Jul 2025 02:13:51 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4blkTq0FRCz3NGw; Mon, 21 Jul 2025 02:13:51 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1753064031; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=IDeLGanJ/26D8deSTI0ziy9dJnUpvNom9lLi9IaXr4g=; b=Sspn3sQxKVzacGZBIdLYDDtoqSlLvjvxSaKd93NobrszdJ1gPdeQz3Lw0XBBDcteVSdu86 7ZapriwyVAE+CBeujapluqYO9vNPA7hROi50AQD3eBIabt4Qt3zYrnSefFBH9uWNju+o6H mx8I7BKO8AaEgSQXj5zVEwvlUYgmMIyJlVztlw1CoyJHdMth6Z0lH5MEGWNJk/0saGNWq6 V1dDjpTRr8LdMueHsWsPSYarWppR07BnslVIPUZ1d9j2wideH9nfYA3BHmxk135l17zpwE HBbh2n7GvYRZCx49jSS+nru9L6w3KZvB/dlSdrcaFkaF4TkTvztGfkOV0NO21w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1753064031; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=IDeLGanJ/26D8deSTI0ziy9dJnUpvNom9lLi9IaXr4g=; b=a9gTAbe/Yp4fHTVv4xVUzb/QcfFRAcvGVNi5FLwNKdJPuImaePTI3YndD7Z+CKYMORSZAA szmq9XbWR3eoCKjwPsyJKoBKZYXOv7wP+TdgyPItHrTnS3M9GB+HuiNq4epMhJyaiX8Faa Law189ZJPDOWsQv+md/Ey/MiG6BJbDngPAOfdQS0tYD25bNrFMNAUw/f5iqewns75PXIyR FGKW5stj7Ois/wO9PMEvoG+aknPdxkeUgH0Q91NLpLXUq3HXgwz7/qvMnrfDMvIHkH+n8z +h8MoAaTmI1euxvfsKF3/osM+flINFuvIMW8mptojk9aomCGLm7mAgT569qr/A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1753064031; a=rsa-sha256; cv=none; b=LY2TKoLxbWbg5C6ewJVIThSkfoCJJ3Go+Q636x7Nkd7pWjsG5sbhgg8ZwmzhYZGQg2784M k7RJry6DJ6zgpcubuIWgDrWskz29zHudyGzddb6x4I81rMZcf1vhVIK3DcWbucAgVUCUM2 768aHsv3a9/voukXbwUvI/V4nN7GEPbbEnDS6hu58A5VN7eSO8S2exLoEHPa7rUMd5fv85 aJAj7KA0KgkgY1b/5+Kv25bXBhL8pGf+vGlVXrBO8HgZ/OlGclHP4E8VAceKoQsMXTPL/o yRpAS3pQJMz0RtdxxBS7De/y4XZTovABaMMK8eEpKIxB/XmFDtDwy61A1AZFvw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4blkTp6vwczdyn; Mon, 21 Jul 2025 02:13:50 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 56L2Do3j013688; Mon, 21 Jul 2025 02:13:50 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 56L2Dons013686; Mon, 21 Jul 2025 02:13:50 GMT (envelope-from git) Date: Mon, 21 Jul 2025 02:13:50 GMT Message-Id: <202507210213.56L2Dons013686@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Kyle Evans Subject: git: a0b8aa915469 - stable/14 - stand: lua: add a more productive comment List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kevans X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: a0b8aa91546934bb3d0e2ae30ada7a0a48522b3b Auto-Submitted: auto-generated The branch stable/14 has been updated by kevans: URL: https://cgit.FreeBSD.org/src/commit/?id=a0b8aa91546934bb3d0e2ae30ada7a0a48522b3b commit a0b8aa91546934bb3d0e2ae30ada7a0a48522b3b Author: Kyle Evans AuthorDate: 2025-06-13 02:31:54 +0000 Commit: Kyle Evans CommitDate: 2025-07-21 02:12:26 +0000 stand: lua: add a more productive comment The global `shift` is a special little hack for shifting everything when the logo is gone, and we should explain that. Fixes: 33d3373faf30d ("stand: lua: convert orb to a new format [...]") (cherry picked from commit 1beab149d0b9768ad6d07501326a2060d7b0ba58) --- stand/lua/drawer.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/stand/lua/drawer.lua b/stand/lua/drawer.lua index e853cc655269..01802d8e9d81 100644 --- a/stand/lua/drawer.lua +++ b/stand/lua/drawer.lua @@ -369,7 +369,9 @@ local function drawlogo() end end - -- XXX What the hell is going on here? + -- This is a special little hack for the "none" logo to re-align the + -- menu and the brand to avoid having a lot of extraneous whitespace on + -- the right side. if logodef and logodef.ascii.image == none then shift = logodef.shift else