[libkwineffects] Don't mark a painted window as transformed twice
ClosedPublic

Authored by zzag on Dec 13 2018, 4:12 PM.

Details

Summary

WindowPrePaintData::setTransformed sets PAINT_WINDOW_TRANSFORMED,
so data.mask |= PAINT_WINDOW_TRANSFORMED; is redundant.

Test Plan

Minimized a window, haven't noticed visual glitches.

Diff Detail

Repository
R108 KWin
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
zzag created this revision.Dec 13 2018, 4:12 PM
Restricted Application added a project: KWin. · View Herald TranscriptDec 13 2018, 4:12 PM
Restricted Application added a subscriber: kwin. · View Herald Transcript
zzag requested review of this revision.Dec 13 2018, 4:12 PM
davidedmundson accepted this revision.Dec 13 2018, 4:29 PM
This revision is now accepted and ready to land.Dec 13 2018, 4:29 PM
graesslin accepted this revision.Dec 13 2018, 4:37 PM
This revision was automatically updated to reflect the committed changes.