Properly handle destroying a Pointer resource
ClosedPublic

Authored by graesslin on Jun 28 2016, 4:58 PM.

Details

Summary

On client side the newer wl_pointer_release is used which is a
destructor call. On server side the shared destroy callback is used
and it's ensured that KWayland doesn't crash if called into the
PointerInterface between unbound and destroyed.

Test Plan

Test case extended to cover the condition of an unbound
PointerInterface.

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 4810.Jun 28 2016, 4:58 PM
graesslin retitled this revision from to Properly handle destroying a Pointer resource.
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 TranscriptJun 28 2016, 4:58 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
sebas accepted this revision.Jun 28 2016, 10:58 PM
sebas added a reviewer: sebas.
This revision is now accepted and ready to land.Jun 28 2016, 10:58 PM
This revision was automatically updated to reflect the committed changes.