https://bugs.kde.org/show_bug.cgi?id=395815

Roman Gilg <subd...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
      Latest Commit|                            |https://commits.kde.org/kwa
                   |                            |yland/5e195c2a67ce520803f89
                   |                            |36160c5e61d431dcbac
         Resolution|---                         |FIXED

--- Comment #2 from Roman Gilg <subd...@gmail.com> ---
Git commit 5e195c2a67ce520803f8936160c5e61d431dcbac by Roman Gilg.
Committed on 26/06/2018 at 14:35.
Pushed by romangilg into branch 'master'.

[server] Send frame event instead of flush on relative pointer motion

Summary:
This solves for me not working relative pointer motion with grab/lock in
Xwayland applications.

Looking at the Xwayland code it is clear, that it expects a frame event on
wl_pointer versions 5 and above after relative motion events. wl_pointer
version 5 support was added to KWayland in b6bd28ab.

If the cursor is locked no absolute motion events are sent. In this case to
make sure relative motion events are processed by the client, send the frame
event after every relative motion.

Test Plan: Manually with Neverball in Xwayland mode.

Reviewers: #plasma, #kwin, #frameworks, davidedmundson

Reviewed By: #plasma, #kwin, davidedmundson

Subscribers: davidedmundson, kde-frameworks-devel

Tags: #frameworks

Maniphest Tasks: T8923

Differential Revision: https://phabricator.kde.org/D13257

M  +1    -1    src/server/pointer_interface.cpp

https://commits.kde.org/kwayland/5e195c2a67ce520803f8936160c5e61d431dcbac

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to