diff options
| author | Karoly Lorentey | 2004-07-11 03:44:18 +0000 |
|---|---|---|
| committer | Karoly Lorentey | 2004-07-11 03:44:18 +0000 |
| commit | 1705c9330e905dc35f95ad9b79d32d59db214433 (patch) | |
| tree | e5a29b720a196ef445aeb128a6e1ba00b1df1919 /src | |
| parent | cac78d48b0821d9182ad1b4a2565537ff18678e2 (diff) | |
| download | emacs-1705c9330e905dc35f95ad9b79d32d59db214433.tar.gz emacs-1705c9330e905dc35f95ad9b79d32d59db214433.zip | |
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
Diffstat (limited to 'src')
| -rw-r--r-- | src/xfns.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xfns.c b/src/xfns.c index dbb7548650c..3f82966a4be 100644 --- a/src/xfns.c +++ b/src/xfns.c | |||
| @@ -2861,7 +2861,7 @@ This function is an internal primitive--use `make-frame' instead. */) | |||
| 2861 | Vx_resource_name = Vinvocation_name; | 2861 | Vx_resource_name = Vinvocation_name; |
| 2862 | 2862 | ||
| 2863 | display = x_get_arg (dpyinfo, parms, Qdisplay_id, 0, 0, RES_TYPE_NUMBER); | 2863 | display = x_get_arg (dpyinfo, parms, Qdisplay_id, 0, 0, RES_TYPE_NUMBER); |
| 2864 | if (NILP (display)) | 2864 | if (EQ (display, Qunbound)) |
| 2865 | display = x_get_arg (dpyinfo, parms, Qdisplay, 0, 0, RES_TYPE_STRING); | 2865 | display = x_get_arg (dpyinfo, parms, Qdisplay, 0, 0, RES_TYPE_STRING); |
| 2866 | if (EQ (display, Qunbound)) | 2866 | if (EQ (display, Qunbound)) |
| 2867 | display = Qnil; | 2867 | display = Qnil; |