diff options
| author | Jason Rumney | 2002-05-04 22:13:53 +0000 |
|---|---|---|
| committer | Jason Rumney | 2002-05-04 22:13:53 +0000 |
| commit | 406b073da1dc907d8a8b5ff9aef9f15a48cdcc8c (patch) | |
| tree | 5e16d35be5c823f0784c81cf6cfead0261553e7a /src | |
| parent | 77186c628063f166d05d9b7878791def2dd20ffd (diff) | |
| download | emacs-406b073da1dc907d8a8b5ff9aef9f15a48cdcc8c.tar.gz emacs-406b073da1dc907d8a8b5ff9aef9f15a48cdcc8c.zip | |
(make_lispy_event) <mouse-wheel>: Set count to 1
for event-click-count.
Diffstat (limited to 'src')
| -rw-r--r-- | src/keyboard.c | 6 |
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) | |||
| 5285 | &mouse_wheel_syms, 1); | 5285 | &mouse_wheel_syms, 1); |
| 5286 | return Fcons (head, | 5286 | return Fcons (head, |
| 5287 | Fcons (position, | 5287 | Fcons (position, |
| 5288 | Fcons (make_number (event->code), | 5288 | /* Insert 1 here so event-click-count works. */ |
| 5289 | Qnil))); | 5289 | Fcons (make_number (1), |
| 5290 | Fcons (make_number (event->code), | ||
| 5291 | Qnil)))); | ||
| 5290 | } | 5292 | } |
| 5291 | } | 5293 | } |
| 5292 | #endif /* WINDOWSNT */ | 5294 | #endif /* WINDOWSNT */ |