D25921: [libinput] Send touch events with respect to device rotation

Aleix Pol Gonzalez noreply at phabricator.kde.org
Wed Dec 18 11:36:49 GMT 2019


apol added a comment.


  In D25921#579549 <https://phabricator.kde.org/D25921#579549>, @romangg wrote:
  
  > In D25921#579478 <https://phabricator.kde.org/D25921#579478>, @apol wrote:
  >
  > > Just tested it, works okay.
  > >
  > > Now the pen is broken. 😅
  >
  >
  > Oh right. But before you put any time into trying to fix it. I think I found a generic fix: There is a function in our libinput code setting the device input matrix dependent on rotation but I accidentally "deactivated" it some time ago when moving around code in the Screens class. I would look into that soon and then might revert the patch here as well (in case setting the matrix also fixes the touch events).
  
  
  Okay, a generic solution from libinput could break on multiscreen. This patch works, checked yesterday.

BRANCH
  touch-rotation-fix

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

To: romangg, #kwin, zzag
Cc: apol, zzag, kwin, LeGast00n, The-Feren-OS-Dev, sbergeron, jraleigh, zachus, fbampaloukas, GB_2, mkulinski, ragreen, jackyalcine, iodelay, crozbo, bwowk, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, hardening, romangg, jensreuterberg, abetts, sebas, ahiemstra, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwin/attachments/20191218/53e4a1ae/attachment-0001.html>


More information about the kwin mailing list