aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
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,