diff options
| author | Alan Third | 2017-10-08 19:26:34 +0100 |
|---|---|---|
| committer | Alan Third | 2017-10-08 19:26:34 +0100 |
| commit | 745aea2296caa87758d4e55b95ed63124970e8c3 (patch) | |
| tree | cb59d0b672ad06c6dc6f8fbfdd85970a38e7f979 | |
| parent | 1cd334cd47dd3d5085a0779499aff2f6617cb3d5 (diff) | |
| download | emacs-745aea2296caa87758d4e55b95ed63124970e8c3.tar.gz emacs-745aea2296caa87758d4e55b95ed63124970e8c3.zip | |
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.
| -rw-r--r-- | lisp/frame.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/frame.el b/lisp/frame.el index 7b57aa3df1f..f8aa5c6e523 100644 --- a/lisp/frame.el +++ b/lisp/frame.el | |||
| @@ -2438,7 +2438,7 @@ See also `toggle-frame-maximized'." | |||
| 2438 | ;; Manipulating a frame without waiting for the fullscreen | 2438 | ;; Manipulating a frame without waiting for the fullscreen |
| 2439 | ;; animation to complete can cause a crash, or other unexpected | 2439 | ;; animation to complete can cause a crash, or other unexpected |
| 2440 | ;; behaviour, on macOS (bug#28496). | 2440 | ;; behaviour, on macOS (bug#28496). |
| 2441 | (when (featurep 'cocoa) (sit-for 1)))) | 2441 | (when (featurep 'cocoa) (sleep-for 0.5)))) |
| 2442 | 2442 | ||
| 2443 | ;;;; Key bindings | 2443 | ;;;; Key bindings |
| 2444 | 2444 | ||