|
From: | Gregory Heytings |
Subject: | bug#65217: 29.1; set-frame-size gets confused and drops calls |
Date: | Fri, 18 Aug 2023 08:34:15 +0000 |
I disagree. It is a consequence of the fact that the actual resizing is performed by the window manager, and that Emacs must wait for the window-system response event to perform the resize correctly. Lisp programs that perform several such operations in a row must inject short wait periods to allow for the processing of the window-system events. That's what Martin meant by saying that using sit-for solves the problems.
Instead of assuming that Elisp programmers understand these subtle points, can't we provide an optional argument to set-frame-size, say FORCE, that would do that sit-for?
[Prev in Thread] | Current Thread | [Next in Thread] |