[tabbox] Fix casts to Client where it should be AbstractClient
ClosedPublic

Authored by graesslin on Jun 19 2017, 3:09 PM.

Details

Summary

A few areas in TabBox perform casts from Toplevel to Client. By casting
to Client instead of AbstractClient the Wayland windows are excluded.

This change addresses the problem by changing the casts where possible.
The only remaining cast to Client is for shading which is not (yet)
supported for Wayland windows anyway.

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.
graesslin created this revision.Jun 19 2017, 3:09 PM
Restricted Application added a project: KWin. · View Herald TranscriptJun 19 2017, 3:09 PM
Restricted Application added subscribers: kwin, plasma-devel. · View Herald Transcript
davidedmundson accepted this revision.Jun 19 2017, 4:09 PM
This revision is now accepted and ready to land.Jun 19 2017, 4:09 PM
This revision was automatically updated to reflect the committed changes.