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).

https://preview.redd.it/fonw4bxbrf3c1.png?width=2982&format=png&auto=webp&s=fe9699c278f66944d4dcbb0ed6240cd93674fb65

  • amanneedsamaid@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    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