Subject: Re: bug#37415: Asserting failure setting frame parameters to non-fixnum values in early-init.el

From: Eli Zaretskii <[email-masked]>
Date: Sun, 22 Sep 2019 19:27:45 +0300

> Cc: [email-masked], [email-masked]
> From: martin rudalics <[email-masked]>
> Date: Sun, 22 Sep 2019 10:08:04 +0200
> 
>  >    . how come we don't hit this assertion when the same expression is
>  >      in the init file, only in the early-init file?
> 
> I do hit it here.  Unless some sort of bug happens before.  For
> example, when using (left . foo).

But not with (left . (- 0)), right?

>  >    . why doesn't the X build hit the same assertion in the same
>  >      scenario?
> 
> The X build sets 'left' only in 'gui_figure_window_size' whereafter it
> immediately sanitizes it into f->left_pos which is later on used by
> XCreateWindow.

So we should do something similar.