emacs-devel
[Top][All Lists]
Advanced

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

Re: Weird problem with inital frame sizing


From: Noam Postavsky
Subject: Re: Weird problem with inital frame sizing
Date: Wed, 12 Sep 2018 10:50:05 -0400

On 12 September 2018 at 10:37, Perry E. Metzger <address@hidden> wrote:

> Thinking that this might be some sort of weird race condition during
> initialization, I put a "(sleep-for 1)" into my .emacs just before the
> code that sets everything, i.e., before all my "set-face-attribute"
> and "default-frame-alist" manipulation. When I do this, the frame pops
> up in its initial size and configuration, and then after the sleep
> ends, the size of the default frame adjusts and is consistently
> correct.
>
> Can anyone guess what might be going wrong, and how we might fix
> this correctly?

Does changing x-wait-for-event-timeout help (or hurt)?

Possibly doing your manipulation in after-make-frame-functions would
be the correct fix.



reply via email to

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