[client] Add setScale to Surface
ClosedPublic

Authored by graesslin on Mar 21 2016, 8:34 AM.

Details

Summary

The wrapper for wl_surface::set_buffer_scale was still missing.
Main reason for implementation is the need for the added auto-test.

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.
graesslin updated this revision to Diff 2871.Mar 21 2016, 8:34 AM
graesslin retitled this revision from to [client] Add setScale to Surface.
graesslin updated this object.
graesslin edited the test plan for this revision. (Show Details)
graesslin added a reviewer: Plasma.
Restricted Application added a project: Plasma. · View Herald TranscriptMar 21 2016, 8:34 AM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
sebas accepted this revision.Mar 21 2016, 2:09 PM
sebas added a reviewer: sebas.
sebas added a subscriber: sebas.

Fix the minor comments and go for it.

src/client/surface.h
208

It's

212

-the, -then (makes it clearer and easier to read)

This revision is now accepted and ready to land.Mar 21 2016, 2:09 PM
graesslin marked 2 inline comments as done.Mar 21 2016, 2:59 PM
This revision was automatically updated to reflect the committed changes.