mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-05 11:45:45 +00:00
Change pause in fullscreen toggling for NS port (bug#28496)
* lisp/frame.el (toggle-frame-fullscreen): Replace sit-for with sleep-for, and reduce time.
This commit is contained in:
parent
1cd334cd47
commit
745aea2296
@ -2438,7 +2438,7 @@ See also `toggle-frame-maximized'."
|
||||
;; Manipulating a frame without waiting for the fullscreen
|
||||
;; animation to complete can cause a crash, or other unexpected
|
||||
;; behaviour, on macOS (bug#28496).
|
||||
(when (featurep 'cocoa) (sit-for 1))))
|
||||
(when (featurep 'cocoa) (sleep-for 0.5))))
|
||||
|
||||
;;;; Key bindings
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user