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

git pushed a commit to branch wl/browser-all
in repository enlightenment.

View the commit online.

commit 353bacfa41da018c6d35b4a50bf692718c37d2b8
Author: Cedric BAIL <[email protected]>
AuthorDate: Tue Aug 11 16:43:06 2026 -0600

    tests - report unaccelerated deltas for synthesised pointer motion
    
    zwp_relative_pointer_v1.relative_motion carries the delta twice, once with
    pointer acceleration applied and once without. wl_test passed 0 for the
    unaccelerated pair, which reads as "this harness does not know" but is
    simply wrong: there is no acceleration curve in front of a synthesised
    event, so the two are the same number.
    
    Nothing in E looked at it, so the mistake only showed on the wire - where
    it made relative_pointer_gets_movement fail on an argument mismatch while
    the event itself was being sent correctly, with the right accelerated
    delta and at the right time. That is the kind of failure that reads as a
    missing feature.
    
    wlcs PointerConstraints+RelativePointer: 16 passed -> 17.
    
    Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
    Claude-Session: https://claude.ai/code/session_01W6z4GbxmqypzCzUHPwzFMd
---
 src/modules/wl_test/e_mod_main.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/modules/wl_test/e_mod_main.c b/src/modules/wl_test/e_mod_main.c
index 5bb9bb54a..dbb833bc1 100644
--- a/src/modules/wl_test/e_mod_main.c
+++ b/src/modules/wl_test/e_mod_main.c
@@ -154,10 +154,13 @@ _wl_test_cb_pointer_warp(struct wl_client *client EINA_UNUSED, struct wl_resourc
    if (focused && (!e_comp_util_mouse_grabbed()) &&
        ((x != _pointer_x) || (y != _pointer_y)))
      {
+        /* Unaccelerated equals accelerated here: there is no pointer
+         * acceleration in front of synthesised input, so reporting 0 for the
+         * unaccelerated pair was not "unknown", it was wrong. */
         if ((!e_comp->screen) || (!e_comp->screen->relative_motion))
           e_comp_wl_extension_relative_motion_event(ecore_time_unix_get() * 1000ULL,
                                                     x - _pointer_x, y - _pointer_y,
-                                                    0, 0);
+                                                    x - _pointer_x, y - _pointer_y);
 
         /* A constraint that swallows the motion has already warped the pointer
          * somewhere of its own choosing, and the canvas must not then be told

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

Reply via email to