Mark Toplevel as not ready for painting by default
ClosedPublic

Authored by zzag on Sep 24 2019, 1:41 PM.

Details

Summary

Get rid of some duplication as InternalClient, XdgShellClient, Unmanaged,
and Client initialize ready_for_painting to false.

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.Sep 24 2019, 1:41 PM
Restricted Application added a project: KWin. · View Herald TranscriptSep 24 2019, 1:41 PM
Restricted Application added a subscriber: kwin. · View Herald Transcript
zzag requested review of this revision.Sep 24 2019, 1:41 PM
zzag edited the summary of this revision. (Show Details)Sep 24 2019, 1:50 PM

Generally++

Should we set it to true in the Deleted constructor? I imagine it's a special case that no-one queries, but technically it's ready for painting.

zzag added a comment.Sep 24 2019, 2:00 PM

Generally++

Should we set it to true in the Deleted constructor? I imagine it's a special case that no-one queries, but technically it's ready for painting.

ready_for_painting gets copied to Deleted

zzag added a comment.Sep 24 2019, 2:03 PM

see Toplevel::copyToDeleted

davidedmundson accepted this revision.Sep 24 2019, 2:04 PM
This revision is now accepted and ready to land.Sep 24 2019, 2:04 PM
This revision was automatically updated to reflect the committed changes.