]> git.eshelyaron.com Git - emacs.git/commit
Tidy up NS port OS window handling
authorAlan Third <alan@idiocy.org>
Sat, 5 Jun 2021 11:39:46 +0000 (12:39 +0100)
committerAlan Third <alan@idiocy.org>
Sat, 31 Jul 2021 10:13:05 +0000 (11:13 +0100)
commit1535c81f77153dd61426246be2e8afd33fa6909a
treebab94aad738e323d9b269a3616140051e4402cdf
parenta4d2c88cdee90a3e4863a62c4ff69896d0c1a347
Tidy up NS port OS window handling

* src/nsterm.h (EmacsWindow): Move above EmacsView definition and add
new method definitions.
(EmacsView): Remove redundant bwidth variable, and change NSWindow to
EmacsWindow.
(EmacsFSWindow): Delete definition.
* src/nsterm.m (ns_set_undecorated): Rewrite to work in GNUstep using
the new OS window creating methods.
([EmacsView initFrameFromEmacs:]): Move all NSWindow related code to
new init method in EmacsWindow, and use said method.
([EmacsView toggleFullScreen:]): Use EmacsWindow instead of NSWindow.
([EmacsWindow initWithEmacsFrame:]):
([EmacsWindow initWithEmacsFrame:fullscreen:screen:]):
([EmacsWindow borderWidth]): New methods.
(EmacsFSWindow): Remove implementation.
src/nsfns.m
src/nsterm.h
src/nsterm.m