romangg created this revision.
romangg added reviewers: Plasma, KWin, Frameworks.
Restricted Application added a project: Frameworks.
Restricted Application added a subscriber: kde-frameworks-devel.
romangg requested review of this revision.

REVISION 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 
<https://phabricator.kde.org/R127:b6bd28ab0492b07f6bb32dcb217f94b4d4a93d2c>.
  
  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.

REPOSITORY
  R127 KWayland

BRANCH
  fixRelativeMotionFrame

REVISION DETAIL
  https://phabricator.kde.org/D13257

AFFECTED FILES
  src/server/pointer_interface.cpp

To: romangg, #plasma, #kwin, #frameworks
Cc: kde-frameworks-devel, michaelh, ngraham, bruns

Reply via email to