Mercurial > hg > xemacs-beta
diff src/device-x.c @ 6:27bc7f280385 r19-15b4
Import from CVS: tag r19-15b4
author | cvs |
---|---|
date | Mon, 13 Aug 2007 08:47:15 +0200 |
parents | ac2d302a0011 |
children | 9ee227acff29 |
line wrap: on
line diff
--- a/src/device-x.c Mon Aug 13 08:46:57 2007 +0200 +++ b/src/device-x.c Mon Aug 13 08:47:15 2007 +0200 @@ -224,9 +224,6 @@ allocate_x_device_struct (d); - if (NILP (Vdefault_x_device)) - Vdefault_x_device = device; - make_argc_argv (Vx_initial_argv_list, &argc, &argv); if (STRINGP (Vx_emacs_application_class) && @@ -250,6 +247,9 @@ signal_simple_error ("X server not responding\n", display); } + if (NILP (Vdefault_x_device)) + Vdefault_x_device = device; + if (NILP (DEVICE_NAME (d))) DEVICE_NAME (d) = display;