# HG changeset patch # User Richard M. Stallman # Date 893998360 0 # Node ID 93207874c93c0395776d926f8003b6936aaf52f9 # Parent 6ce89105f98f9f851eba4f25959a56cd0789e74a (event_kind): New event type `drag_n_drop'. diff -r 6ce89105f98f -r 93207874c93c src/termhooks.h --- a/src/termhooks.h Fri May 01 04:51:51 1998 +0000 +++ b/src/termhooks.h Fri May 01 04:52:40 1998 +0000 @@ -233,7 +233,8 @@ .timestamp gives a timestamp (in milliseconds) for the click. */ #ifdef WINDOWSNT - mouse_wheel, /* A mouse-wheel event is generated by a + mouse_wheel, /* A mouse-wheel event is generated + on WINDOWSNT by a wheel on a mouse (e.g., MS Intellimouse). The event contains a delta that corresponds to the amount and direction that the wheel @@ -277,8 +278,21 @@ (Only the toolkit version uses these.) */ iconify_event, /* An X client iconified this window. */ deiconify_event, /* An X client deiconified this window. */ - menu_bar_activate_event /* A button press in the menu bar + menu_bar_activate_event, /* A button press in the menu bar (toolkit version only). */ + drag_n_drop /* A drag-n-drop event is generated when + files selected outside of Emacs are dropped + onto an Emacs window. + Currently used only on Windows NT. + .modifiers holds the state of the + modifier keys. + .x and .y give the mouse position, + in characters, within the window. + .frame_or_window is a cons of the frame + in which the drop was made and a list of + the filenames of the dropped files. + .timestamp gives a timestamp (in + milliseconds) for the click. */ }; /* If a struct input_event has a kind which is selection_request_event