Use lambda function to reduce code duplication and put
function definitions in the same order as in the header file.
Details
Details
- Reviewers
davidedmundson - Group Reviewers
Plasma - Commits
- R127:31b1c144fde7: [server] Small code cleanup in SurfaceInterface
All autotests succeed.
Diff Detail
Diff Detail
- Repository
- R127 KWayland
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Comment Actions
In surface_interface_p.h the functions are declared in this order:
void installPointerConstraint(LockedPointerInterface *lock); void installPointerConstraint(ConfinedPointerInterface *confinement); void installIdleInhibitor(IdleInhibitorInterface *inhibitor);
In the cpp file they were defined in a different order. It's just a small code style correction.