[server] Send pointer events to all wl_pointer resources of a client
ClosedPublic

Authored by graesslin on Oct 11 2016, 8:09 AM.

Details

Summary

This is what Weston does. With this change clients can create
multiple wl_pointer instances and thus get events reported to all of them.
This will be needed to e.g. support drag on empty area in Breeze on Wayland.

A similar change was done for wl_keyboard already in 862bb68e.

Test Plan

Seat auto test still passes

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 7294.Oct 11 2016, 8:09 AM
graesslin retitled this revision from to [server] Send pointer events to all wl_pointer resources of a client.
graesslin updated this object.
graesslin edited the test plan for this revision. (Show Details)
graesslin added a reviewer: Plasma on Wayland.
Restricted Application added a project: Plasma on Wayland. · View Herald TranscriptOct 11 2016, 8:09 AM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
sebas accepted this revision.Oct 16 2016, 2:36 PM
sebas added a reviewer: sebas.
sebas added a subscriber: sebas.

Looks good.

This revision is now accepted and ready to land.Oct 16 2016, 2:36 PM
This revision was automatically updated to reflect the committed changes.