Move WindowRules from Client to AbstractClient
ClosedPublic

Authored by graesslin on Oct 1 2017, 2:42 PM.

Details

Summary

So far window rule specific functionality was only implemented in Client
and in ShellClient there was only a dummy implementation. This change
moves the client_rules member variable from Client to AbstractClient.
Areas which would not compile anymore are adjusted.

This is a first step to get window rule support for Wayland windows.

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.Oct 1 2017, 2:42 PM
Restricted Application added a project: KWin. · View Herald TranscriptOct 1 2017, 2:42 PM
Restricted Application added subscribers: kwin, plasma-devel. · View Herald Transcript
graesslin updated this revision to Diff 20204.Oct 1 2017, 7:31 PM

I noticed I hadn't removed the variable from Client...

That turned into another round of refactoring and moving things from Client to AbstractClient.

Restricted Application edited projects, added Plasma; removed KWin. · View Herald TranscriptOct 1 2017, 7:31 PM
davidedmundson accepted this revision.Oct 5 2017, 10:57 PM
This revision is now accepted and ready to land.Oct 5 2017, 10:57 PM
This revision was automatically updated to reflect the committed changes.