GNU bug report logs -
#63555
emacs 29 complains that it can't connect to the display
Previous Next
Reported by: Phillip Susi <phill <at> thesusis.net>
Date: Wed, 17 May 2023 13:55:03 UTC
Severity: normal
Found in version 29.0.90
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
>>>>> On Mon, 22 May 2023 19:15:40 +0800, Po Lu <luangruo <at> yahoo.com> said:
Po Lu> Robert Pluim <rpluim <at> gmail.com> writes:
>>>>>>> On Mon, 22 May 2023 17:26:27 +0800, Po Lu <luangruo <at> yahoo.com> said:
>>
Po> The problem with this approach is that gtk_init_check initializes the
Po> window system upon success, so once pgtk_term_init is called in
Po> pgtkterm.c, the window system is set up a second time, leaving two
Po> display connections open...
>>
>> Is there anything stopping us from removing that call to gtk_init?
Po Lu> Yes, since the PGTK build is supposed to support multiple displays.
Ha! And has anyone actually tested that? :-)
Po Lu> BTW, the other problem with calling `gtk_init_check' is that when it
Po Lu> returns FALSE, calling any other GTK function results in undefined
Po Lu> behavior. Thus, if `gtk_init_check' is used at startup, opening a
Po Lu> display later becomes unsafe, even if a display connection is then
Po Lu> available.
Do the gtk folks deliberately set out to make their usersʼ lives
difficult, or is it accidental?
Looks like Eliʼs NEWS entry is it, then.
Robert
--
This bug report was last modified 263 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.