Add a default mode event to ServerSideDecorationManager
ClosedPublic

Authored by graesslin on Mar 12 2016, 10:56 AM.

Details

Summary

The ServerSideDecorationManager gains a new event which gets sent
to the client when it binds the manager. The event indicates the
default server decoration mode used by the server. This allows the
client to know the decoration mode when it creates a decoration and
thus does not need to roundtrip to the server to get the mode.

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 2732.Mar 12 2016, 10:56 AM
graesslin retitled this revision from to Add a default mode event to ServerSideDecorationManager.
graesslin updated this object.
graesslin edited the test plan for this revision. (Show Details)
graesslin added reviewers: Plasma, sebas.
Restricted Application added a project: Plasma. · View Herald TranscriptMar 12 2016, 10:56 AM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
sebas accepted this revision.Mar 12 2016, 11:21 AM
sebas edited edge metadata.
sebas added inline comments.
src/client/protocols/server-decoration.xml
53

till -> until

54

requestMode() makes more sense here

This revision is now accepted and ready to land.Mar 12 2016, 11:21 AM
graesslin marked 2 inline comments as done.Mar 12 2016, 11:29 AM
graesslin added inline comments.
src/client/protocols/server-decoration.xml
54

This is a protocol and not a C-based programming language ;-)

I changed it to "request_mode is requested"

This revision was automatically updated to reflect the committed changes.
graesslin marked an inline comment as done.