aboutsummaryrefslogtreecommitdiffstats
path: root/src/termhooks.h
diff options
context:
space:
mode:
authorJason Rumney2007-11-09 12:18:43 +0000
committerJason Rumney2007-11-09 12:18:43 +0000
commitb2b25916046ec68548e0a213906dca1931fa599d (patch)
treed19487aa56ad770d71738d2e5f9dc8dae99bfc9c /src/termhooks.h
parentaddedb8e244361a9d93154da650396fb1ef2a86e (diff)
downloademacs-b2b25916046ec68548e0a213906dca1931fa599d.tar.gz
emacs-b2b25916046ec68548e0a213906dca1931fa599d.zip
(enum event_kind) [WINDOWSNT]: Likewise.
Add MULTIMEDIA_KEY_EVENT.
Diffstat (limited to 'src/termhooks.h')
-rw-r--r--src/termhooks.h19
1 files changed, 15 insertions, 4 deletions
diff --git a/src/termhooks.h b/src/termhooks.h
index 4d8fb8a861b..369bdff158d 100644
--- a/src/termhooks.h
+++ b/src/termhooks.h
@@ -132,10 +132,6 @@ enum event_kind
132 whose scroll bar was clicked in. 132 whose scroll bar was clicked in.
133 .timestamp gives a timestamp (in 133 .timestamp gives a timestamp (in
134 milliseconds) for the click. */ 134 milliseconds) for the click. */
135#ifdef WINDOWSNT
136 W32_SCROLL_BAR_CLICK_EVENT, /* as for SCROLL_BAR_CLICK, but only generated
137 by MS-Windows scroll bar controls. */
138#endif
139 SELECTION_REQUEST_EVENT, /* Another X client wants a selection from us. 135 SELECTION_REQUEST_EVENT, /* Another X client wants a selection from us.
140 See `struct selection_input_event'. */ 136 See `struct selection_input_event'. */
141 SELECTION_CLEAR_EVENT, /* Another X client cleared our selection. */ 137 SELECTION_CLEAR_EVENT, /* Another X client cleared our selection. */
@@ -200,6 +196,21 @@ enum event_kind
200#ifdef HAVE_GPM 196#ifdef HAVE_GPM
201 , GPM_CLICK_EVENT 197 , GPM_CLICK_EVENT
202#endif 198#endif
199
200#ifdef WINDOWSNT
201 /* Generated when an APPCOMMAND event is received, in response to
202 Multimedia or Internet buttons on some keyboards.
203 Such keys are available as normal function keys on X through the
204 Xkeyboard extension.
205 On Windows, some of them get mapped to normal function key events,
206 but others need to be handled by APPCOMMAND. Handling them all as
207 APPCOMMAND events means they can be disabled
208 (w32-pass-multimedia-buttons-to-system), important on Windows since
209 the system never sees these keys if Emacs claims to handle them.
210 On X, the window manager seems to grab the keys it wants
211 first, so this is not a problem there. */
212 , MULTIMEDIA_KEY_EVENT
213#endif
203}; 214};
204 215
205/* If a struct input_event has a kind which is SELECTION_REQUEST_EVENT 216/* If a struct input_event has a kind which is SELECTION_REQUEST_EVENT