aboutsummaryrefslogtreecommitdiffstats
path: root/src/termhooks.h
diff options
context:
space:
mode:
authorJim Blandy1992-10-03 01:09:59 +0000
committerJim Blandy1992-10-03 01:09:59 +0000
commit45288343f0ac5a43da5fe417db07626357fd2041 (patch)
treed50896b70580d46e356921c4440d12f43376013e /src/termhooks.h
parent350273a493c0a1e4da6127bf29c237312be7e758 (diff)
downloademacs-45288343f0ac5a43da5fe417db07626357fd2041.tar.gz
emacs-45288343f0ac5a43da5fe417db07626357fd2041.zip
Doc fix.
Diffstat (limited to 'src/termhooks.h')
-rw-r--r--src/termhooks.h15
1 files changed, 10 insertions, 5 deletions
diff --git a/src/termhooks.h b/src/termhooks.h
index 695c5a316e5..c7f9d3d0909 100644
--- a/src/termhooks.h
+++ b/src/termhooks.h
@@ -165,11 +165,16 @@ struct input_event {
165 165
166 The modifiers applied to mouse clicks are rather ornate. The 166 The modifiers applied to mouse clicks are rather ornate. The
167 window-system-specific code should store mouse clicks with 167 window-system-specific code should store mouse clicks with
168 up_modifier or down_modifier set; the window-system independent 168 up_modifier or down_modifier set. Having an explicit down modifier
169 code turns all up_modifier events into either drag_modifier or 169 simplifies some of window-system-independent code; without it, the
170 click_modifier. The click_modifier has no written representation 170 code would have to recognize down events by checking if the event
171 in the names of the symbols used as event heads, but it does appear 171 is a mouse click lacking the click and drag modifiers.
172 in the Qevent_symbol_components property of the event heads. */ 172
173 The window-system independent code turns all up_modifier events
174 bits into either drag_modifier or click_modifier events. The
175 click_modifier has no written representation in the names of the
176 symbols used as event heads, but it does appear in the
177 Qevent_symbol_components property of the event heads. */
173enum { 178enum {
174 up_modifier = 1, /* Only used on mouse buttons - always 179 up_modifier = 1, /* Only used on mouse buttons - always
175 turned into a click or a drag modifier 180 turned into a click or a drag modifier