[Differential] [Request, 59 lines] D2037: Properly handle destroying a Pointer resource
graesslin (Martin Gräßlin)
noreply at phabricator.kde.org
Tue Jun 28 16:58:51 UTC 2016
graesslin created this revision.
graesslin added a reviewer: Plasma on Wayland.
Restricted Application added a subscriber: plasma-devel.
Restricted Application added a project: Plasma on Wayland.
REVISION 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.
REPOSITORY
rKWAYLAND KWayland
BRANCH
pointer-unbound
REVISION DETAIL
https://phabricator.kde.org/D2037
AFFECTED FILES
autotests/client/test_wayland_seat.cpp
src/client/pointer.cpp
src/server/pointer_interface.cpp
src/server/pointer_interface_p.h
EMAIL PREFERENCES
https://phabricator.kde.org/settings/panel/emailpreferences/
To: graesslin, #plasma_on_wayland
Cc: plasma-devel, jensreuterberg, sebas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20160628/d5f57a42/attachment.html>
More information about the Plasma-devel
mailing list