aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1993-03-07 09:29:36 +0000
committerRichard M. Stallman1993-03-07 09:29:36 +0000
commit3076b39de33d4e00c3279503864d79c68835d590 (patch)
tree2d6409bcaa67981d796912063724c16d517b4ee0 /src
parent86e5706b378b4979f9a5db3709ca9a448c54353a (diff)
downloademacs-3076b39de33d4e00c3279503864d79c68835d590.tar.gz
emacs-3076b39de33d4e00c3279503864d79c68835d590.zip
(alt_modifier, super_modifier, hyper_modifier):
(shift_modifier, ctrl_modifier, meta_modifier): Renumber the bits.
Diffstat (limited to 'src')
-rw-r--r--src/termhooks.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/src/termhooks.h b/src/termhooks.h
index 9a96b046e4c..4d07f67ecfb 100644
--- a/src/termhooks.h
+++ b/src/termhooks.h
@@ -1,6 +1,6 @@
1/* Hooks by which low level terminal operations 1/* Hooks by which low level terminal operations
2 can be made to call other routines. 2 can be made to call other routines.
3 Copyright (C) 1985, 1986, 1992, 1993 Free Software Foundation, Inc. 3 Copyright (C) 1985, 1986, 1993 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
@@ -284,19 +284,20 @@ enum {
284 up_modifier = 1, /* Only used on mouse buttons - always 284 up_modifier = 1, /* Only used on mouse buttons - always
285 turned into a click or a drag modifier 285 turned into a click or a drag modifier
286 before lisp code sees the event. */ 286 before lisp code sees the event. */
287 alt_modifier = 2, /* Under X, the XK_Alt_[LR] keysyms. */
288 ctrl_modifier = 4,
289 hyper_modifier= 8, /* Under X, the XK_Hyper_[LR] keysyms. */
290 meta_modifier = 16, /* Under X, the XK_Meta_[LR] keysyms. */
291 shift_modifier= 32,
292 super_modifier= 64, /* Under X, the XK_Super_[LR] keysyms. */
293 down_modifier = 128, /* Only used on mouse buttons. */ 287 down_modifier = 128, /* Only used on mouse buttons. */
294 drag_modifier = 256, /* This is never used in the event 288 drag_modifier = 256, /* This is never used in the event
295 queue; it's only used internally by 289 queue; it's only used internally by
296 the window-system-independent code. */ 290 the window-system-independent code. */
297 click_modifier= 512, /* See drag_modifier. */ 291 click_modifier= 512, /* See drag_modifier. */
298 last_modifier /* This should always be one more than the 292
299 highest modifier bit defined. */ 293 /* The next four modifier bits are used also
294 in keyboard events at the Lisp level. */
295 alt_modifier = 0x040000, /* Under X, the XK_Alt_[LR] keysyms. */
296 super_modifier= 0x080000, /* Under X, the XK_Super_[LR] keysyms. */
297 hyper_modifier= 0x100000, /* Under X, the XK_Hyper_[LR] keysyms. */
298 shift_modifier= 0x200000,
299 ctrl_modifier = 0x400000,
300 meta_modifier = 0x800000, /* Under X, the XK_Meta_[LR] keysyms. */
300}; 301};
301 302
302#endif 303#endif