D26859: Implement the tablet wayland protocol in kwin

Vlad Zahorodnii noreply at phabricator.kde.org
Wed Mar 18 14:06:50 GMT 2020


zzag added inline comments.

INLINE COMMENTS

> davidedmundson wrote in input.cpp:1663
> Double check with vlad, but I think we want
> 
> toplevel->bufferGeometry().topLeft()
> 
> as input is relative to the buffer not the frame

Yes, x and y in the motion event must be in the surface-local coordinates, i.e. relative to the upper left corner of the main surface.

REPOSITORY
  R108 KWin

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

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


More information about the kwin mailing list