summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/eieio-core.el
diff options
context:
space:
mode:
authorAndrii Kolomoiets <andreyk.mad@gmail.com>2020-03-10 10:14:59 +0200
committerAlan Third <alan@idiocy.org>2020-03-12 23:16:41 +0000
commitbbc48b263485c26c6823eabdbbd7e9af62178e34 (patch)
tree38e2a564d3b598edb04b6f737061a1df074f2d33 /lisp/emacs-lisp/eieio-core.el
parent3db5a51384d80306b3279c2c0ceaf48e18e49474 (diff)
downloademacs-bbc48b263485c26c6823eabdbbd7e9af62178e34.tar.gz
emacs-bbc48b263485c26c6823eabdbbd7e9af62178e34.tar.bz2
emacs-bbc48b263485c26c6823eabdbbd7e9af62178e34.zip
Fix NS child frame in native fullscreen (bug#36672)
* lisp/frame.el (toggle-frame-fullscreen): Don't sleep on cocoa. Fullscreen animation waiting is moved to src/nsterm.m. * src/nsterm.h (EmacsView): Add in_fullscreen_transition, inFullScreenTransition, waitFullScreenTransition. (NSWindowCollectionBehaviorFullScreenAuxiliary): New define. * src/nsterm.m (ns_make_frame_visible): Wait for fullscreen animation. (ns_set_parent_frame): Set frame collection behavior; make child frames non-fullscreen; make non-child frames fullscreen if parent was fullscreen. ([EmacsView initFrameFromEmacs]): Set in_fullscreen_transition; set frame collection behavior according to parent frame. ([EmacsView windowDidMove]): Remove code by commenting with "fixme". ([EmacsView windowWillEnterFullScreen], [EmacsView windowDidEnterFullScreen]) ([EmacsView windowWillExitFullScreen], [EmacsView windowDidExitFullScreen]): Set in_fullscreen_transition. ([EmacsView inFullScreenTransition], [EmacsView waitFullScreenTransition]): New methods. ([EmacsView updateCollectionBehavior]): Set collection behavior according to parent frame. ([EmacsView toggleFullScreen]): Wait for fullscreen animation.
Diffstat (limited to 'lisp/emacs-lisp/eieio-core.el')
0 files changed, 0 insertions, 0 deletions