diff src/device-x.c @ 74:54cc21c15cbb r20-0b32

Import from CVS: tag r20-0b32
author cvs
date Mon, 13 Aug 2007 09:04:33 +0200
parents 131b0175ea99
children 8619ce7e4c50
line wrap: on
line diff
--- a/src/device-x.c	Mon Aug 13 09:03:47 2007 +0200
+++ b/src/device-x.c	Mon Aug 13 09:04:33 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;
+
 #ifdef MULE
   {
     /* Read in locale-specific resources from