aboutsummaryrefslogtreecommitdiffstats
path: root/src/keyboard.c
diff options
context:
space:
mode:
authorJason Rumney <[email protected]>2002-05-04 22:13:53 +0000
committerJason Rumney <[email protected]>2002-05-04 22:13:53 +0000
commit406b073da1dc907d8a8b5ff9aef9f15a48cdcc8c (patch)
tree5e16d35be5c823f0784c81cf6cfead0261553e7a /src/keyboard.c
parent77186c628063f166d05d9b7878791def2dd20ffd (diff)
(make_lispy_event) <mouse-wheel>: Set count to 1
for event-click-count.
Diffstat (limited to 'src/keyboard.c')
-rw-r--r--src/keyboard.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/keyboard.c b/src/keyboard.c
index d1c3681fdb..90b83560cf 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 */