Commit 523812cd authored by Richard M. Stallman's avatar Richard M. Stallman

(event_kind): New event type `drag_n_drop'.

parent a24dc617
...@@ -233,7 +233,8 @@ enum event_kind ...@@ -233,7 +233,8 @@ enum event_kind
.timestamp gives a timestamp (in .timestamp gives a timestamp (in
milliseconds) for the click. */ milliseconds) for the click. */
#ifdef WINDOWSNT #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). wheel on a mouse (e.g., MS Intellimouse).
The event contains a delta that corresponds The event contains a delta that corresponds
to the amount and direction that the wheel to the amount and direction that the wheel
...@@ -277,8 +278,21 @@ enum event_kind ...@@ -277,8 +278,21 @@ enum event_kind
(Only the toolkit version uses these.) */ (Only the toolkit version uses these.) */
iconify_event, /* An X client iconified this window. */ iconify_event, /* An X client iconified this window. */
deiconify_event, /* An X client deiconified 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). */ (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 /* If a struct input_event has a kind which is selection_request_event
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment