[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
Re: [Emacs-diffs] emacs-26 6dfc778 2/2: Fix fullscreen crash on macOS (bug#28496)
Sat, 07 Oct 2017 18:52:21 -0400
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.
- Re: [Emacs-diffs] emacs-26 6dfc778 2/2: Fix fullscreen crash on macOS (bug#28496),
Stefan Monnier <=