Introduce AbstractClient::destroyClient()
ClosedPublic

Authored by zzag on Mar 4 2020, 8:21 AM.

Details

Summary

The new method provides a generic way for destructing clients. Notice
that we can't just delete clients because we may need to discard
temporary window rules, which is usually done in destroyClient().

Test Plan

Compiles.

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.Mar 4 2020, 8:21 AM
Restricted Application added a project: KWin. · View Herald TranscriptMar 4 2020, 8:21 AM
Restricted Application added a subscriber: kwin. · View Herald Transcript
zzag requested review of this revision.Mar 4 2020, 8:21 AM
zzag updated this revision to Diff 76904.Mar 4 2020, 8:25 AM

Don't move code around.

davidedmundson accepted this revision.Mar 4 2020, 10:02 AM
This revision is now accepted and ready to land.Mar 4 2020, 10:02 AM
This revision was automatically updated to reflect the committed changes.