diff options
author | Alan Third <alan@idiocy.org> | 2021-06-12 12:52:15 +0100 |
---|---|---|
committer | Alan Third <alan@idiocy.org> | 2021-07-31 11:13:05 +0100 |
commit | 0b5cf4850990ff7b32264d2a174843fe72203cd0 (patch) | |
tree | cdf5ca231a514f42eef6b5811a82c7310560edc4 /test/lisp/emacs-lisp/check-declare-tests.el | |
parent | 1ba02d85a964e1b2c6a9735cd3decdc524e06dc1 (diff) | |
download | emacs-0b5cf4850990ff7b32264d2a174843fe72203cd0.tar.gz emacs-0b5cf4850990ff7b32264d2a174843fe72203cd0.tar.bz2 emacs-0b5cf4850990ff7b32264d2a174843fe72203cd0.zip |
Move NS port toolbar handling to the window
* src/nsmenu.m (free_frame_tool_bar):
(update_frame_tool_bar): Remove wait_for_tool_bar and get the toolbar
from the window.
* src/nsterm.h (EmacsView): Remove toolbar and wait_for_tool_bar.
* src/nsterm.m (ns_update_begin):
([EmacsView windowDidEnterFullScreen]):
([EmacsView windowDidExitFullScreen]): Get the toolbar from the
window, not the view.
([EmacsView dealloc]): Remove toolbar from view.
([EmacsView createToolbar:]): Move method to EmacsWindow.
([EmacsView initFrameFromEmacs:]): Don't create toolbar here any more.
([EmacsView toolbar]): Remove method.
([EmacsWindow initWithEmacsFrame:fullscreen:screen:]): Create toolbar here.
([EmacsWindow createToolbar:]): Moved from EmacsView.
([EmacsWindow dealloc]): Make sure we clean up the toolbar after
closing the window.
Diffstat (limited to 'test/lisp/emacs-lisp/check-declare-tests.el')
0 files changed, 0 insertions, 0 deletions