[Differential] [Request, 72 lines] D2077: [server] Handle no XDG_RUNTIME_DIR situation more gracefully

graesslin (Martin Gräßlin) noreply at phabricator.kde.org
Mon Jul 4 06:51:52 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
  Even if the XDG_RUNTIME_DIR is not set, KWayland should not crash
  if methods are invoked which only make sense after the server was
  started successfully. This was not yet the case for
  Display::dispatchEvents.
  
  Also the wl_display was not destroyed in the situation that creating
  the socket failed.

TEST PLAN
  Test case added which simulates the situation of no
  XDG_RUNTIME_DIR being set.

REPOSITORY
  rKWAYLAND KWayland

BRANCH
  no-xdg-runtime-dir

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

AFFECTED FILES
  autotests/server/CMakeLists.txt
  autotests/server/test_no_xdg_runtime_dir.cpp
  src/server/display.cpp

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/20160704/f52810ed/attachment.html>


More information about the Plasma-devel mailing list