aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJason Rumney2007-09-04 21:43:50 +0000
committerJason Rumney2007-09-04 21:43:50 +0000
commitbce179b56b1f78cca04e6f585f4b2691df84a38a (patch)
treeccf69711a081f3a1b88f18efe49ab9b136708a64 /src
parent13899bc14ce76042d4956a7661955338717d6813 (diff)
downloademacs-bce179b56b1f78cca04e6f585f4b2691df84a38a.tar.gz
emacs-bce179b56b1f78cca04e6f585f4b2691df84a38a.zip
(enum event_kind) <HORIZ_WHEEL_EVENT>: New event.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog24
-rw-r--r--src/termhooks.h3
2 files changed, 27 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 4c72b1d6c7e..94fdc7a2e4d 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,27 @@
12007-09-04 Jason Rumney <jasonr@gnu.org>
2
3 * termhooks.h (enum event_kind) <HORIZ_WHEEL_EVENT>: New event.
4
5 * keyboard.c (discard_mouse_events): Discard it.
6 (make_lispy_event): Translate it to a lisp event.
7 (lispy_wheel_names): Add wheel-left and right events.
8 (syms_of_keyboard): Enlarge wheel_syms.
9
10 * w32fns.c (w32_wnd_proc) <WM_DROPFILES>: Merge with WM_MOUSEWHEEL.
11 <WM_MOUSEHWHEEL>: Pass new system message to lisp.
12
13 * w32term.h (WM_MOUSEHWHEEL): Define if system headers don't.
14
15 * w32term.c (construct_mouse_wheel): Make HORIZ_WHEEL_EVENT
16 from WM_MOUSEHWHEEL.
17 (w32_read_socket) <WM_MOUSEHWHEEL>: Treat as WM_MOUSEWHEEL.
18
19 * w32fns.c (x_create_tip_frame) [MULTI_KBOARD]: Get keyboard from
20 terminal.
21
22 * w32term.c (w32_create_terminal) [MULTI_KBOARD]: Create a new
23 keyboard for the terminal.
24
12007-09-04 Dan Nicolaescu <dann@ics.uci.edu> 252007-09-04 Dan Nicolaescu <dann@ics.uci.edu>
2 26
3 * term.c (Vsuspend_tty_hook): Rename from Vsuspend_tty_functions. 27 * term.c (Vsuspend_tty_hook): Rename from Vsuspend_tty_functions.
diff --git a/src/termhooks.h b/src/termhooks.h
index 4124e37586b..96ea5d79514 100644
--- a/src/termhooks.h
+++ b/src/termhooks.h
@@ -109,6 +109,9 @@ enum event_kind
109 the wheel event occurred in. 109 the wheel event occurred in.
110 .timestamp gives a timestamp (in 110 .timestamp gives a timestamp (in
111 milliseconds) for the event. */ 111 milliseconds) for the event. */
112 HORIZ_WHEEL_EVENT, /* A wheel event generated by a second
113 horizontal wheel that is present on some
114 mice. See WHEEL_EVENT. */
112#if defined (WINDOWSNT) || defined (MAC_OS) 115#if defined (WINDOWSNT) || defined (MAC_OS)
113 LANGUAGE_CHANGE_EVENT, /* A LANGUAGE_CHANGE_EVENT is 116 LANGUAGE_CHANGE_EVENT, /* A LANGUAGE_CHANGE_EVENT is
114 generated on WINDOWSNT or Mac OS 117 generated on WINDOWSNT or Mac OS