D24457: [wayland] Ensure that repaints_region is in frame-local coordinates

David Edmundson noreply at phabricator.kde.org
Wed Nov 13 13:12:28 GMT 2019


davidedmundson added a comment.


  When we call this line:
  
    connect(m_surface, &SurfaceInterface::damaged, this, &Toplevel::addDamage);
  
  TopLevel::addDamage is relative to buffer
  
  When we call
  
    Toplevel::addDamage(damage);  
  
  TopLevel::addDamage is relative to the frame
  
  So that's a bit messy. We can ship this for now, but I think we should do the manipulation elsewhere.

REPOSITORY
  R108 KWin

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

To: zzag, #kwin, romangg
Cc: davidedmundson, kwin, LeGast00n, The-Feren-OS-Dev, sbergeron, jraleigh, 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/20191113/cf87877c/attachment-0001.html>


More information about the kwin mailing list