D22459: Send wl_pointer.frame when emulating pointer events out of touch ones

Sebastian Krzyszkowiak noreply at phabricator.kde.org
Sun Jul 14 22:42:07 BST 2019


dos added a comment.


  I've been using nested rootston inside KWin and noticed problems with content refresh when using touchscreen. It worked better with mouse. After debugging, it turned out that:
  
  - rootston doesn't register to wl_touch, so KWin emulates wl_pointer events
  - when emulating, KWin sends naked wl_pointer.motion and wl_pointer.button events without sending any wl_pointer.frame with them
  
  wl_pointer.frames are sent when using mouse or using touchscreen with a client that listens to wl_touch; they just weren't when emulating wl_pointer out of touch for clients that don't.
  
  See also: https://github.com/swaywm/wlroots/pull/1754

REPOSITORY
  R127 KWayland

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

To: dos, #kwin
Cc: romangg, kde-frameworks-devel, LeGast00n, sbergeron, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190714/2e8be498/attachment.html>


More information about the Kde-frameworks-devel mailing list