]> git.eshelyaron.com Git - emacs.git/commit
Allow resizing undecorated frames on macOS (bug#28512, bug#31795)
authorAlan Third <alan@idiocy.org>
Thu, 26 Aug 2021 18:25:48 +0000 (19:25 +0100)
committerAlan Third <alan@idiocy.org>
Wed, 22 Dec 2021 20:48:19 +0000 (20:48 +0000)
commitab0d7a2b83fbb97788efb3ad1cd5e3b0ed10f7f4
treef1b3170eac4ff350bdd1d436b83be0bbb597d849
parent89749a62b51e19a39f145a1985ae5992c58c6776
Allow resizing undecorated frames on macOS (bug#28512, bug#31795)

* src/nsterm.m (FRAME_DECORATED_FLAGS, FRAME_UNDECORATED_FLAGS):
Remove unused defines.
* src/nsterm.m ([EmacsWindow initWithEmacsFrame:fullscreen:screen:]):
Since this is now the only place these defines are used just put them
inline and add NSWindowStyleMaskResizable for undecorated frames on
Cocoa.
src/nsterm.m