I'm using MPV on OSX. Is it possible to hide the title bar?
Thanks.
You can use border=no, but that will also hide the window shadow which looks not so good in my opinion.
(Maybe we should make those separately configurable?)
Yeah, I think it'd be better seperate.
Unfortunately in Cocoa the shadow is added by the framework to windows NSTitledWindowMask, border=no uses unsurprisingly NSBorderlessWindowMask which of course has no shadow.
Even if in thery drawing a shadow manually would be possible, it would require quite some code and mpv should not add any kind of window decorations that are not handled by the GUI toolkit out of the box.
How come MplayerX is able to do it then?
a key command for this would be nice since by default it opens with in most systems and sometimes one wants to move the window in a corner remove and the border to save the space
@boscowitch Ctrl+1 cycle border in input.conf.
Nice thx ! guess this should be added in a comment in the template git input.conf too so next time others find it too
mpv -border=no anyTrack.mp4
When border=no, the window can't resize?
don't reply on such an old issue. on macOS you can resize the window no matter the border setting.
@Akemi I'm sorry for this while I am not sure is this a problem or some settings I ignore. On Windows, no border no scale, but move.
If this is a problem, I will create an issue.
i don't know about windows, since i am only using macOS. you can either create an issue or ask on irc.
Thanks for your reply, I have solved this, it is a problem of mpv.net, not mpv. Sorry...
Most helpful comment
@boscowitch
Ctrl+1 cycle borderin input.conf.