comparison src/frame.c @ 249:83b3d10dcba9 r20-5b23

Import from CVS: tag r20-5b23
author cvs
date Mon, 13 Aug 2007 10:19:09 +0200
parents d44af0c54775
children 966663fcf606
comparison
equal deleted inserted replaced
248:ad40ac2754d8 249:83b3d10dcba9
52 Lisp_Object Vmouse_enter_frame_hook, Qmouse_enter_frame_hook; 52 Lisp_Object Vmouse_enter_frame_hook, Qmouse_enter_frame_hook;
53 Lisp_Object Vmouse_leave_frame_hook, Qmouse_leave_frame_hook; 53 Lisp_Object Vmouse_leave_frame_hook, Qmouse_leave_frame_hook;
54 Lisp_Object Vmap_frame_hook, Qmap_frame_hook; 54 Lisp_Object Vmap_frame_hook, Qmap_frame_hook;
55 Lisp_Object Vunmap_frame_hook, Qunmap_frame_hook; 55 Lisp_Object Vunmap_frame_hook, Qunmap_frame_hook;
56 int allow_deletion_of_last_visible_frame; 56 int allow_deletion_of_last_visible_frame;
57 #if defined (HAVE_CDE) || defined (HAVE_OFFIX_DND) 57 #if defined (HAVE_CDE) || defined (HAVE_OFFIX_DND) || defined(HAVE_MS_WINDOWS)
58 Lisp_Object Vdrag_and_drop_functions, Qdrag_and_drop_functions; 58 Lisp_Object Vdrag_and_drop_functions, Qdrag_and_drop_functions;
59 #endif 59 #endif
60 Lisp_Object Vmouse_motion_handler; 60 Lisp_Object Vmouse_motion_handler;
61 Lisp_Object Vsynchronize_minibuffers; 61 Lisp_Object Vsynchronize_minibuffers;
62 Lisp_Object Qsynchronize_minibuffers; 62 Lisp_Object Qsynchronize_minibuffers;
2890 defsymbol (&Qcustom_initialize_frame, "custom-initialize-frame"); 2890 defsymbol (&Qcustom_initialize_frame, "custom-initialize-frame");
2891 defsymbol (&Qmouse_enter_frame_hook, "mouse-enter-frame-hook"); 2891 defsymbol (&Qmouse_enter_frame_hook, "mouse-enter-frame-hook");
2892 defsymbol (&Qmouse_leave_frame_hook, "mouse-leave-frame-hook"); 2892 defsymbol (&Qmouse_leave_frame_hook, "mouse-leave-frame-hook");
2893 defsymbol (&Qmap_frame_hook, "map-frame-hook"); 2893 defsymbol (&Qmap_frame_hook, "map-frame-hook");
2894 defsymbol (&Qunmap_frame_hook, "unmap-frame-hook"); 2894 defsymbol (&Qunmap_frame_hook, "unmap-frame-hook");
2895 #if defined (HAVE_CDE) || defined (HAVE_OFFIX_DND) 2895 #if defined (HAVE_CDE) || defined (HAVE_OFFIX_DND) || defined(HAVE_MS_WINDOWS)
2896 defsymbol (&Qdrag_and_drop_functions, "drag-and-drop-functions"); 2896 defsymbol (&Qdrag_and_drop_functions, "drag-and-drop-functions");
2897 #endif 2897 #endif
2898 2898
2899 defsymbol (&Qframep, "framep"); 2899 defsymbol (&Qframep, "framep");
2900 defsymbol (&Qframe_live_p, "frame-live-p"); 2900 defsymbol (&Qframe_live_p, "frame-live-p");
3080 &allow_deletion_of_last_visible_frame /* 3080 &allow_deletion_of_last_visible_frame /*
3081 *Non-nil means to assume the force option to delete-frame. 3081 *Non-nil means to assume the force option to delete-frame.
3082 */ ); 3082 */ );
3083 allow_deletion_of_last_visible_frame = 0; 3083 allow_deletion_of_last_visible_frame = 0;
3084 3084
3085 #if defined (HAVE_CDE) || defined (HAVE_OFFIX_DND) 3085 #if defined (HAVE_CDE) || defined (HAVE_OFFIX_DND) || defined(HAVE_MS_WINDOWS)
3086 DEFVAR_LISP ("drag-and-drop-functions", &Vdrag_and_drop_functions /* 3086 DEFVAR_LISP ("drag-and-drop-functions", &Vdrag_and_drop_functions /*
3087 Function or functions to run when an object is dropped on a frame. 3087 Function or functions to run when an object is dropped on a frame.
3088 Each function is called with either two or three args. If called with 3088 Each function is called with either two or three args. If called with
3089 two args, the args are a frame and a pathname. If with three, the 3089 two args, the args are a frame and a pathname. If with three, the
3090 args are a frame, a pathname (which will be either a string or nil) 3090 args are a frame, a pathname (which will be either a string or nil)
3091 and the textual representation of the dragged object. 3091 and the textual representation of the dragged object.
3092 */ ); 3092 */ );
3093 Vdrag_and_drop_functions = Qnil; 3093 Vdrag_and_drop_functions = Qnil;
3094 #endif /* HAVE_CDE */ 3094 #endif /* HAVE_CDE || HAVE_OFFIX_DND || HAVE_MS_WINDOWS */
3095 3095
3096 DEFVAR_LISP ("mouse-motion-handler", &Vmouse_motion_handler /* 3096 DEFVAR_LISP ("mouse-motion-handler", &Vmouse_motion_handler /*
3097 Handler for motion events. One arg, the event. 3097 Handler for motion events. One arg, the event.
3098 For most applications, you should use `mode-motion-hook' instead of this. 3098 For most applications, you should use `mode-motion-hook' instead of this.
3099 */ ); 3099 */ );