bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#3194: 23.0.93; Error opening X frame when it's named


From: Chong Yidong
Subject: bug#3194: 23.0.93; Error opening X frame when it's named
Date: Wed, 06 May 2009 20:09:01 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux)

Jose Antonio Ortega Ruiz <jaortega@gmail.com> writes:

> The *first* time I try, it works; but subsequent re-evaluations (after
> closing the initial frame), fail with the error i reported. Could this
> be your case too?

OK, I see the problem.  This is a loophole in the frame creating
logic---we usually rely on x-create-frame to open the X connection if
it's not already open, but for named faces we need the X resources
associated with the face name.  So x-handle-named-frame-geometry really
ought to open the X connection.  The reason this does not happen for the
first X frame is that we detect that specially, and open the X
connection for initializing the various graphical settings.

I don't want to make any changes to the logic at this stage of the
pretest, so I've installed a temporary workaround, which ignores the
error in x-handle-named-frame-geometry.  This has one drawback: any
special X resources you associate with that frame name are not
recognized.

I'll keep this bug open, and look into a more comprehensive solution
after the release.






reply via email to

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