From 523812cdf373eb68bd1dc3cdfabca8de965ce569 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Fri, 1 May 1998 04:52:40 +0000 Subject: [PATCH] (event_kind): New event type `drag_n_drop'. --- src/termhooks.h | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/src/termhooks.h b/src/termhooks.h index ff4e9ef74c7..f5928d7c54d 100644 --- a/src/termhooks.h +++ b/src/termhooks.h @@ -233,7 +233,8 @@ enum event_kind .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 @@ enum event_kind (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 -- 2.39.5