emacs-devel
[Top][All Lists]
Advanced

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

Re: [Emacs-diffs] emacs-26 6dfc778 2/2: Fix fullscreen crash on macOS (b


From: Stefan Monnier
Subject: Re: [Emacs-diffs] emacs-26 6dfc778 2/2: Fix fullscreen crash on macOS (bug#28496)
Date: Sat, 07 Oct 2017 18:52:21 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

> +    ;; 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))))

Then sit-for is not sufficient: it will often not wait at all (e.g. if
the user has already hit further keys).
`sleep-for` would make sure we really do wait a full second.

This said, we don't know if 1s is sufficient anyway, so maybe it doesn't
matter that much: this is just a quick-hack kind of workaround.


        Stefan



reply via email to

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