Simplify compositing setup code
ClosedPublic

Authored by garg on Feb 8 2018, 7:12 PM.

Details

Summary

We can get rid of the superfluous if/else ladder.

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.
garg created this revision.Feb 8 2018, 7:12 PM
Restricted Application added a project: KWin. · View Herald TranscriptFeb 8 2018, 7:12 PM
Restricted Application added a subscriber: KWin. · View Herald Transcript
garg requested review of this revision.Feb 8 2018, 7:12 PM
graesslin accepted this revision.Feb 8 2018, 7:23 PM
This revision is now accepted and ready to land.Feb 8 2018, 7:23 PM
This revision was automatically updated to reflect the committed changes.