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

  • Patryk27@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Make the application fullscreen by clicking the fullscreen-button on the window’s top bar - on my machine only that one behaves sensibly.

    • Chribold@alien.top
      cake
      B
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      Yeah for me too, would love to toggle that from within emacs but I have not found a way to do that yet