Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
45288343
Commit
45288343
authored
Oct 03, 1992
by
Jim Blandy
Browse files
Doc fix.
parent
350273a4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
5 deletions
+10
-5
src/termhooks.h
src/termhooks.h
+10
-5
No files found.
src/termhooks.h
View file @
45288343
...
...
@@ -165,11 +165,16 @@ struct input_event {
The modifiers applied to mouse clicks are rather ornate. The
window-system-specific code should store mouse clicks with
up_modifier or down_modifier set; the window-system independent
code turns all up_modifier events into either drag_modifier or
click_modifier. The click_modifier has no written representation
in the names of the symbols used as event heads, but it does appear
in the Qevent_symbol_components property of the event heads. */
up_modifier or down_modifier set. Having an explicit down modifier
simplifies some of window-system-independent code; without it, the
code would have to recognize down events by checking if the event
is a mouse click lacking the click and drag modifiers.
The window-system independent code turns all up_modifier events
bits into either drag_modifier or click_modifier events. The
click_modifier has no written representation in the names of the
symbols used as event heads, but it does appear in the
Qevent_symbol_components property of the event heads. */
enum
{
up_modifier
=
1
,
/* Only used on mouse buttons - always
turned into a click or a drag modifier
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment