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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue