Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
a6d46bc1
Commit
a6d46bc1
authored
Jan 03, 2009
by
Jason Rumney
Browse files
(parse_modifiers_uncached): Wheel events are clicks (bug#687).
parent
4a0cf14f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
src/ChangeLog
src/ChangeLog
+3
-0
src/keyboard.c
src/keyboard.c
+5
-0
No files found.
src/ChangeLog
View file @
a6d46bc1
2009-01-03 Jason Rumney <jasonr@gnu.org>
* keyboard.c (parse_modifiers_uncached): Wheel events are
clicks (bug#687).
* w32term.c (x_query_colors, x_query_color): New functions.
* image.c (x_to_xcolors, png_load): Eliminate W32 specific code.
...
...
src/keyboard.c
View file @
a6d46bc1
...
...
@@ -6313,6 +6313,11 @@ parse_modifiers_uncached (symbol, modifier_end)
&& ('0' <= SREF (name, i + 6) && SREF (name, i + 6) <= '9'))
modifiers |= click_modifier;
if (! (modifiers & (double_modifier | triple_modifier))
&& i + 6 < SBYTES (name)
&& strncmp (SDATA (name) + i, "wheel-", 6) == 0)
modifiers |= click_modifier;
if (modifier_end)
*modifier_end = i;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment