aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman2002-07-29 01:55:43 +0000
committerRichard M. Stallman2002-07-29 01:55:43 +0000
commit05be396488e335fbac46c9d2dfd9d20ba16ac85e (patch)
treeafe5a29aa55b258b2806f9152a0d068b1c6f0bb1 /src
parent5e24bf120e004ef4b5b357c3114c1ba04afbb1dc (diff)
downloademacs-05be396488e335fbac46c9d2dfd9d20ba16ac85e.tar.gz
emacs-05be396488e335fbac46c9d2dfd9d20ba16ac85e.zip
(make_lispy_event): Use #ifdef to test USE_TOOLKIT_SCROLL_BARS.
Explicitly clear up_modifier in event->modifiers.
Diffstat (limited to 'src')
-rw-r--r--src/keyboard.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/keyboard.c b/src/keyboard.c
index 0647d532867..ce20d57913d 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -5185,7 +5185,7 @@ make_lispy_event (event)
5185 } 5185 }
5186 } 5186 }
5187 5187
5188#if USE_TOOLKIT_SCROLL_BARS 5188#ifdef USE_TOOLKIT_SCROLL_BARS
5189 5189
5190 /* We don't have down and up events if using toolkit scroll bars, 5190 /* We don't have down and up events if using toolkit scroll bars,
5191 so make this always a click event. Store in the `part' of 5191 so make this always a click event. Store in the `part' of
@@ -5221,6 +5221,7 @@ make_lispy_event (event)
5221 5221
5222 /* Always treat scroll bar events as clicks. */ 5222 /* Always treat scroll bar events as clicks. */
5223 event->modifiers |= click_modifier; 5223 event->modifiers |= click_modifier;
5224 event->modifiers &= ~up_modifier;
5224 5225
5225 /* Get the symbol we should use for the mouse click. */ 5226 /* Get the symbol we should use for the mouse click. */
5226 head = modify_event_symbol (event->code, 5227 head = modify_event_symbol (event->code,