This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository terminology.

View the commit online.

commit 10b4d7cdfacaa458d615c22e0794b3c1e638ee0e
Author: Boris Faure <bill...@gmail.com>
AuthorDate: Tue Jun 18 22:07:54 2024 +0200

    wheel: do not emit events if wheel has not moved
---
 src/bin/termiointernals.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/bin/termiointernals.c b/src/bin/termiointernals.c
index 1a7cda51..8d75c413 100644
--- a/src/bin/termiointernals.c
+++ b/src/bin/termiointernals.c
@@ -2171,6 +2171,10 @@ termio_internal_mouse_wheel(Termio *sd,
         return;
      }
 
+   if (ev->z == 0)
+     {
+        return;
+     }
    if (modifiers.ctrl || modifiers.shift)
      {
         return;

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to