Do not set x-display-name until X connection is established.
commitebb19708e7c76af8eee5534e25de5fa0949c14b4
authorDmitry Antipov <dmantipov@yandex.ru>
Sat, 6 Apr 2013 14:06:39 +0000 (6 18:06 +0400)
committerDmitry Antipov <dmantipov@yandex.ru>
Sat, 6 Apr 2013 14:06:39 +0000 (6 18:06 +0400)
tree28a573147e83305bf16256fc6bf58af61408432c
parent33bb237a73a4ba97f21e673dac36b1f8c1299289
Do not set x-display-name until X connection is established.
This is needed to prevent from weird situation described at
<http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
* frame.el (make-frame): Set x-display-name after call to
window system initialization function, not before.
* term/x-win.el (x-initialize-window-system): Add optional
display argument and use it.
* term/w32-win.el (w32-initialize-window-system):
* term/ns-win.el (ns-initialize-window-system):
* term/pc-win.el (msdos-initialize-window-system):
Add compatible optional display argument.
lisp/ChangeLog
lisp/frame.el
lisp/term/ns-win.el
lisp/term/pc-win.el
lisp/term/w32-win.el
lisp/term/x-win.el