I’m using Emacs Mac from Homebrew on my M1 Macbook Pro with the notch, and when I toggle fullscreen using (toggle-frame-fullscreen)
I see that part of the top line of text gets hidden by the notch (like in image). In other applications fullscreen omits the entire top height of the notch, but for some reason Emacs fullscreen isn’t like other native fullscreen - the Emacs frame occupies the entire screen but is still in the Desktop space. So I lose words in the middle of the top line. How can I avoid this situation? I don’t see a ns-use-native-fullscreen
variable (or any variables containing the words “ns”, “native”, or “fullscreen” that are useful).
This isn’t going to be a very helpful comment, but I’d bet writing some elisp and the function a hook to toggle-frame-fullscreen
You could try to add some manual padding on the top: https://elpa.gnu.org/packages/spacious-padding.html