[Differential] [Request, 38 lines] D2159: [src/server] Verify that surface has a resource before sending pointer enter

graesslin (Martin Gräßlin) noreply at phabricator.kde.org
Thu Jul 14 09:47:36 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
  If we try to send a pointer enter on a null resource of a Surface
  (e.g. after unbound) we hit a marshalling error:
  error marshalling arguments for enter (signature uoff): null value passed for arg 1
  
  The added test case hits this error without the change and passes
  cleanly with the change.

REPOSITORY
  rKWAYLAND KWayland

BRANCH
  server-check-surface-resource-on-enter

REVISION DETAIL
  https://phabricator.kde.org/D2159

AFFECTED FILES
  autotests/client/test_wayland_seat.cpp
  src/server/pointer_interface.cpp

EMAIL PREFERENCES
  https://phabricator.kde.org/settings/panel/emailpreferences/

To: graesslin, #plasma_on_wayland
Cc: plasma-devel, jensreuterberg, abetts, sebas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20160714/1a1c9e6f/attachment.html>


More information about the Plasma-devel mailing list