Do not set x-display-name until X connection is established.
authorDmitry Antipov <dmantipov@yandex.ru>
Sat, 6 Apr 2013 14:06:39 +0000 (18:06 +0400)
committerDmitry Antipov <dmantipov@yandex.ru>
Sat, 6 Apr 2013 14:06:39 +0000 (18:06 +0400)
commita03ce7b1676c3dcbb9538fa7449da3e25e606e0c
treeab02ef7a7a60929ef9bfa7a65ee655c01445d5d6
parenta9b521aeb26f40e48c1ed30420da8c098816e80c
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