emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-26 745aea2: Change pause in fullscreen toggling for


From: Alan Third
Subject: [Emacs-diffs] emacs-26 745aea2: Change pause in fullscreen toggling for NS port (bug#28496)
Date: Sun, 8 Oct 2017 14:29:06 -0400 (EDT)

branch: emacs-26
commit 745aea2296caa87758d4e55b95ed63124970e8c3
Author: Alan Third <address@hidden>
Commit: Alan Third <address@hidden>

    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.
---
 lisp/frame.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/frame.el b/lisp/frame.el
index 7b57aa3..f8aa5c6 100644
--- a/lisp/frame.el
+++ b/lisp/frame.el
@@ -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
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]