Mercurial > emacs
changeset 83177:91cf385601e5
Fix creating frames on different X servers.
* src/xfns.c (Fx_create_frame): Fix verifying return value of x_get_arg
for Qdisplay_id.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-217
author | Karoly Lorentey <lorentey@elte.hu> |
---|---|
date | Sun, 11 Jul 2004 03:44:18 +0000 |
parents | d5674d957cdc |
children | a79c4db19c4f |
files | src/xfns.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xfns.c Sun Jul 11 02:28:46 2004 +0000 +++ b/src/xfns.c Sun Jul 11 03:44:18 2004 +0000 @@ -2861,7 +2861,7 @@ Vx_resource_name = Vinvocation_name; display = x_get_arg (dpyinfo, parms, Qdisplay_id, 0, 0, RES_TYPE_NUMBER); - if (NILP (display)) + if (EQ (display, Qunbound)) display = x_get_arg (dpyinfo, parms, Qdisplay, 0, 0, RES_TYPE_STRING); if (EQ (display, Qunbound)) display = Qnil;