D26927: Schedule a decoration repaint when client is resized

Vlad Zahorodnii noreply at phabricator.kde.org
Mon Jan 27 13:39:11 GMT 2020


zzag added inline comments.

INLINE COMMENTS

> zzag wrote in scene_opengl.cpp:2566
> This check verifies whether the decoration is actually dirty; that's it, either the decoration was damaged by a call to KDecoration2::Decoration::update() or the decorated client was resized.
> 
> > Was that purely a hack for decorations?
> 
> I think that's a question I should ask. You added this check. :-)

The key assumption: if `areImageSizesDirty()` returns `true`, then the scheduled region is not empty.

REPOSITORY
  R108 KWin

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

To: zzag, #kwin
Cc: davidedmundson, kwin, Orage, LeGast00n, The-Feren-OS-Dev, 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/20200127/7d97f432/attachment.html>


More information about the kwin mailing list