• Jan Djärv's avatar
    Introduce ns-auto-hide-menu-bar to hide menubar for Emacs frames. · f0a1382a
    Jan Djärv authored
    Code by Anders Lindgren.
    
    * nsterm.m (ns_menu_bar_is_hidden): New variable.
    (ns_constrain_all_frames, ns_menu_bar_should_be_hidden)
    (ns_update_auto_hide_menu_bar): New functions.
    (ns_update_begin): Call ns_update_auto_hide_menu_bar.
    (applicationDidBecomeActive): Call ns_update_auto_hide_menu_bar and
    ns_constrain_all_frames.
    (constrainFrameRect): Return at once if ns_menu_bar_should_be_hidden.
    (syms_of_nsterm): DEFVAR ns-auto-hide-menu-bar, init to Qnil.
    f0a1382a
ChangeLog 1.11 MB
The source could not be displayed because it is larger than 1 MB. You can load it anyway or download it instead.