Commit bce179b5 authored by Jason Rumney's avatar Jason Rumney

(enum event_kind) <HORIZ_WHEEL_EVENT>: New event.

parent 13899bc1
2007-09-04 Jason Rumney <jasonr@gnu.org>
* termhooks.h (enum event_kind) <HORIZ_WHEEL_EVENT>: New event.
* keyboard.c (discard_mouse_events): Discard it.
(make_lispy_event): Translate it to a lisp event.
(lispy_wheel_names): Add wheel-left and right events.
(syms_of_keyboard): Enlarge wheel_syms.
* w32fns.c (w32_wnd_proc) <WM_DROPFILES>: Merge with WM_MOUSEWHEEL.
<WM_MOUSEHWHEEL>: Pass new system message to lisp.
* w32term.h (WM_MOUSEHWHEEL): Define if system headers don't.
* w32term.c (construct_mouse_wheel): Make HORIZ_WHEEL_EVENT
from WM_MOUSEHWHEEL.
(w32_read_socket) <WM_MOUSEHWHEEL>: Treat as WM_MOUSEWHEEL.
* w32fns.c (x_create_tip_frame) [MULTI_KBOARD]: Get keyboard from
terminal.
* w32term.c (w32_create_terminal) [MULTI_KBOARD]: Create a new
keyboard for the terminal.
2007-09-04 Dan Nicolaescu <dann@ics.uci.edu>
* term.c (Vsuspend_tty_hook): Rename from Vsuspend_tty_functions.
......@@ -109,6 +109,9 @@ enum event_kind
the wheel event occurred in.
.timestamp gives a timestamp (in
milliseconds) for the event. */
HORIZ_WHEEL_EVENT, /* A wheel event generated by a second
horizontal wheel that is present on some
mice. See WHEEL_EVENT. */
#if defined (WINDOWSNT) || defined (MAC_OS)
LANGUAGE_CHANGE_EVENT, /* A LANGUAGE_CHANGE_EVENT is
generated on WINDOWSNT or Mac OS
......
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