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
_______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel