[wayland] Make XdgShellClient::init() more comprehensible
ClosedPublic

Authored by zzag on Sep 24 2019, 2:50 PM.

Details

Summary

Currently the init method is just a big pile of connects to lambdas,
which makes the code very difficult to read and moreover to change.
This change moves most of those lambda to handleFoo methods so one has
more clear view of what the init method is actually doing.

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, 2:50 PM
Restricted Application added a project: KWin. · View Herald TranscriptSep 24 2019, 2:50 PM
Restricted Application added a subscriber: kwin. · View Herald Transcript
zzag requested review of this revision.Sep 24 2019, 2:50 PM
This revision was not accepted when it landed; it landed in state Needs Review.Sep 26 2019, 9:51 AM
This revision was automatically updated to reflect the committed changes.