Collapse VSCodium title bar via height instead of display:none
Using display:none removed the drag region entirely, which caused GNOME/Mutter to fall back to server-side decorations. Collapsing the title bar to 0 height keeps VSCodium's frameless state intact. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
43a8cb976c
commit
362f3b3d86
1 changed files with 1 additions and 1 deletions
|
|
@ -26,7 +26,7 @@
|
|||
workbenchHtml="$out/lib/vscode/resources/app/out/vs/code/electron-browser/workbench/workbench.html"
|
||||
if [ -f "$workbenchHtml" ]; then
|
||||
substituteInPlace "$workbenchHtml" \
|
||||
--replace-fail '</head>' '<style>.monaco-workbench .part.titlebar { display: none !important; }</style></head>'
|
||||
--replace-fail '</head>' '<style>.monaco-workbench .part.titlebar { height: 0 !important; min-height: 0 !important; overflow: hidden !important; visibility: hidden !important; }</style></head>'
|
||||
fi
|
||||
'';
|
||||
}))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue