Replies: 5 comments 1 reply
-
On Fri, Aug 15, 2025 at 07:58:36PM -0700, zhaolei wrote:
Ghostty has already implemented title bar transparency. I don’t fully understand Swift, and I’m not sure whether its implementation differs from Kitty’s. But I’d like to ask if we could take inspiration from it to overcome the titlebar limitation?
Sure, feel free to send a PR. IIRC, you dont need to look at ghostty, what it
needs is a new option in hide_window_decorations like
titlebar-transparent or something. Then implement
that option in glfwCocoaSetWindowChrome, see titlebar_transparent.
|
Beta Was this translation helpful? Give feedback.
1 reply
-
On Sat, Aug 16, 2025 at 01:06:57AM -0700, zhaolei wrote:
I gave it a try, but the title bar remains fully transparent without showing the background color.😑
No clue, then. You will need to experiment with Cocoa APIs
|
Beta Was this translation helpful? Give feedback.
0 replies
-
I did it. But there are still slight inconsistencies in the title bar. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Now the color difference is very very subtle, I think this is a ready version. ![]() |
Beta Was this translation helpful? Give feedback.
0 replies
-
Resolved by PR #8906. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Ghostty has already implemented title bar transparency. I don’t fully understand Swift, and I’m not sure whether its implementation differs from Kitty’s. But I’d like to ask if we could take inspiration from it to overcome the titlebar limitation?
macos_titlebar_color
Beta Was this translation helpful? Give feedback.
All reactions