diff options
author | Alan Third <alan@idiocy.org> | 2021-09-26 11:12:48 +0100 |
---|---|---|
committer | Alan Third <alan@idiocy.org> | 2021-09-27 11:00:30 +0100 |
commit | 86bf8afa45f8d8fe19c82a9351ca445bc6f0e12e (patch) | |
tree | f34ed0d181ca604f8b4d98089fa556a344561655 /src/w16select.c | |
parent | 3d2d7e8ea235a13543ed475836f8f7ea4c88520e (diff) | |
download | emacs-86bf8afa45f8d8fe19c82a9351ca445bc6f0e12e.tar.gz emacs-86bf8afa45f8d8fe19c82a9351ca445bc6f0e12e.tar.bz2 emacs-86bf8afa45f8d8fe19c82a9351ca445bc6f0e12e.zip |
Fix NS toolbar again (bug#50534)
* src/nsmenu.m (free_frame_tool_bar): Remove toolbar.
(update_frame_tool_bar_1): New function.
(update_frame_tool_bar): Move most of the functionality to
update_frame_tool_bar_1.
* src/nsterm.h: Definitions of functions and methods.
* src/nsterm.m (ns_update_begin):
([EmacsView windowDidEnterFullScreen]):
([EmacsView windowDidExitFullScreen]): We no longer need to reset the
toolbar visibility as that's done when we create the new fullscreen
window.
([EmacsWindow initWithEmacsFrame:fullscreen:screen:]): Move the check
for undecorated frames into createToolbar:.
([EmacsWindow createToolbar:]): Check whether a toolbar should be
created, and run the toolbar update immediately.
Diffstat (limited to 'src/w16select.c')
0 files changed, 0 insertions, 0 deletions