We have duplicated code in InternalClient and XdgShellClient to create
decorations. In order to get rid of the code duplication, this change
introduces a method that AbstractClient subclasses can call to create
a window decoration.
Details
Details
- Reviewers
apol - Group Reviewers
KWin - Commits
- R108:4ae6c99c6bc4: Introduce AbstractClient::createDecoration()
Tests pass.
Diff Detail
Diff Detail
- Repository
- R108 KWin
- Lint
Lint Skipped Excuse: foobar - Unit
No Unit Test Coverage - Build Status
Buildable 23237 Build 23255: arc lint + arc unit
Comment Actions
+1 looks good!
abstract_client.cpp | ||
---|---|---|
2146 | We are not capturing anything, reads like it could be a normal slot. |
abstract_client.cpp | ||
---|---|---|
2146 | I just copied createDecoration() from xdgshellclient.cpp and tweaked coding style a little bit. Do I need to change something? |