summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Rumney <jasonr@gnu.org>2002-05-04 22:13:53 +0000
committerJason Rumney <jasonr@gnu.org>2002-05-04 22:13:53 +0000
commit406b073da1dc907d8a8b5ff9aef9f15a48cdcc8c (patch)
tree5e16d35be5c823f0784c81cf6cfead0261553e7a
parent77186c628063f166d05d9b7878791def2dd20ffd (diff)
downloademacs-406b073da1dc907d8a8b5ff9aef9f15a48cdcc8c.tar.gz
emacs-406b073da1dc907d8a8b5ff9aef9f15a48cdcc8c.tar.bz2
emacs-406b073da1dc907d8a8b5ff9aef9f15a48cdcc8c.zip
(make_lispy_event) <mouse-wheel>: Set count to 1
for event-click-count.
-rw-r--r--src/keyboard.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/keyboard.c b/src/keyboard.c
index d1c3681fdbc..90b83560cf8 100644
--- 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 */