macvim icon indicating copy to clipboard operation
macvim copied to clipboard

Remove titlebar but keep rounded corners

Open a125x opened this issue 2 years ago • 8 comments

Is there any way to remove window titlebar but keep standard rounded corners? Current solution with MMNoTitleBarWindow leaves sharp and ugly corners.

It'd be nice to see something like this instead: image

a125x avatar Aug 03 '23 14:08 a125x

Not right now. What exactly do you hope to see? A thinner title bar, or just MacVim without title bar but still show a draggable window with close/minimize buttons?

ychin avatar Aug 05 '23 15:08 ychin

No, I mean no title bar at all without any buttons, something like kitty terminal with hide_window_decorations titlebar-only setting written in config.

Like on this screenshot, kitty terminal does not have any titlebar decorations and buttons, while macvim have them. image If I want to disable them, the only option is to disable title bar completely, but it looks pretty bad because macvim becomes the only app without standard rounded corners. image It's even more noticeable when I'm using window border based focus in the tiling window manager: image

a125x avatar Aug 05 '23 19:08 a125x

Hmm, in Kitty, when you turn on that setting, is the top part (where the title bar is) draggable (to move the window) just like a normal titled window? I wonder if they just hide the title bar or remove it.

ychin avatar Aug 11 '23 21:08 ychin

Seems like it's not draggable. It's still possible to resize the window, but there's no way to move it around without some kind of third-party window manager, I assume.

a125x avatar Aug 11 '23 22:08 a125x

Right. So basically the only difference is that it has rounded corners. I took a look and have a rough idea how to implement it. Will get to it a little bit later when I have time.

ychin avatar Aug 11 '23 23:08 ychin

Thanks for the support!

a125x avatar Aug 12 '23 10:08 a125x

Seems like it's not draggable. It's still possible to resize the window, but there's no way to move it around without some kind of third-party window manager, I assume.

Long-time user of both MacVim and Kitty. Just wanted to note that the window in Kitty is still draggable. If you hover on the left or right edge, and drag vertically, instead of horizontally to resize - it will drag the window.

Likewise, hover over the top or bottom window edge and drag horizontally.

winstongrace avatar May 25 '24 05:05 winstongrace

I think it's a standard Mac thing – I can do the same with the majority of my apps. It just doesn't look like you can do it because the cursor switches to resizing arrows.

winstongrace avatar May 25 '24 05:05 winstongrace