projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d2a9dae
)
Fix initialization of scroll valuator emacs_value
author
Po Lu
<luangruo@yahoo.com>
Fri, 4 Nov 2022 00:29:02 +0000
(08:29 +0800)
committer
Po Lu
<luangruo@yahoo.com>
Fri, 4 Nov 2022 00:29:13 +0000
(08:29 +0800)
* src/xterm.c (xi_handle_device_changed): Initialize emacs_value
to 0, not DBL_MIN. (bug#58980)
src/xterm.c
patch
|
blob
|
history
diff --git
a/src/xterm.c
b/src/xterm.c
index 1b666fae7e20130e3b154b894eee3691c0ee138e..71ff69ece4c8dcb0e6a37889d6c2a0ff277b9ac4 100644
(file)
--- a/
src/xterm.c
+++ b/
src/xterm.c
@@
-13083,7
+13083,7
@@
xi_handle_device_changed (struct x_display_info *dpyinfo,
valuator->horizontal = (scroll->scroll_type
== XIScrollTypeHorizontal);
valuator->invalid_p = true;
- valuator->emacs_value =
DBL_MIN
;
+ valuator->emacs_value =
0
;
valuator->increment = scroll->increment;
valuator->number = scroll->number;
break;