comparison src/device-x.c @ 197:acd284d43ca1 r20-3b25

Import from CVS: tag r20-3b25
author cvs
date Mon, 13 Aug 2007 10:00:02 +0200
parents f53b5ca2e663
children e45d5e7c476e
comparison
equal deleted inserted replaced
196:58e0786448ca 197:acd284d43ca1
46 #include "sysdep.h" 46 #include "sysdep.h"
47 #include "window.h" 47 #include "window.h"
48 48
49 #include "sysfile.h" 49 #include "sysfile.h"
50 #include "systime.h" 50 #include "systime.h"
51
52 #ifdef HAVE_OFFIX_DND
53 #include "offix.h"
54 #endif
51 55
52 Lisp_Object Vdefault_x_device; 56 Lisp_Object Vdefault_x_device;
53 57
54 /* Qdisplay in general.c */ 58 /* Qdisplay in general.c */
55 Lisp_Object Qx_error; 59 Lisp_Object Qx_error;
310 char **new_argv; 314 char **new_argv;
311 make_argc_argv (Vcommand_line_args, &new_argc, &new_argv); 315 make_argc_argv (Vcommand_line_args, &new_argc, &new_argv);
312 XSetCommand (XtDisplay (shell), XtWindow (shell), new_argv, new_argc); 316 XSetCommand (XtDisplay (shell), XtWindow (shell), new_argv, new_argc);
313 free_argc_argv (new_argv); 317 free_argc_argv (new_argv);
314 } 318 }
319
315 } 320 }
316 #endif /* HAVE_SESSION */ 321 #endif /* HAVE_SESSION */
322
323 #ifdef HAVE_OFFIX_DND
324 DndInitialize ( DEVICE_XT_APP_SHELL (d) );
325 #endif
317 326
318 Vx_initial_argv_list = make_arg_list (argc, argv); 327 Vx_initial_argv_list = make_arg_list (argc, argv);
319 free_argc_argv (argv); 328 free_argc_argv (argv);
320 329
321 DEVICE_X_WM_COMMAND_FRAME (d) = Qnil; 330 DEVICE_X_WM_COMMAND_FRAME (d) = Qnil;