projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77186c6
)
(make_lispy_event) <mouse-wheel>: Set count to 1
author
Jason Rumney
<jasonr@gnu.org>
Sat, 4 May 2002 22:13:53 +0000
(22:13 +0000)
committer
Jason Rumney
<jasonr@gnu.org>
Sat, 4 May 2002 22:13:53 +0000
(22:13 +0000)
for event-click-count.
src/keyboard.c
patch
|
blob
|
history
diff --git
a/src/keyboard.c
b/src/keyboard.c
index d1c3681fdbc5b91f75354aca5041bfc93fa225cc..90b83560cf8e9d2b77dddf65daa8aad284e1e74c 100644
(file)
--- a/
src/keyboard.c
+++ b/
src/keyboard.c
@@
-5285,8
+5285,10
@@
make_lispy_event (event)
&mouse_wheel_syms, 1);
return Fcons (head,
Fcons (position,
- Fcons (make_number (event->code),
- Qnil)));
+ /* Insert 1 here so event-click-count works. */
+ Fcons (make_number (1),
+ Fcons (make_number (event->code),
+ Qnil))));
}
}
#endif /* WINDOWSNT */