<table><tr><td style="">fvogt created this revision.<br />fvogt added reviewers: KWin, Plasma.<br />Herald added a project: Frameworks.<br />Herald added a subscriber: kde-frameworks-devel.<br />fvogt requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D17122">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>If there is no socketName specified explicitly, it will use<br />
wl_display_add_socket_auto to allocate the next free socket.<br />
The resulting name can be retrieved using socketName after a successful<br />
start afterwards.</p>
<p>This is a RFC for now because this changes the default value of socketName<br />
(and causes the respective autotest to fail).</p>
<p>If that's ok, I'll adjust the test accordingly. If not, please suggest how this<br />
should be implemented, a new autoSocketName bool property?</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Ran the new autotest, passes. kwin_wayland picks the next free<br />
socket without modifications and WAYLAND_DISPLAY is set properly.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R127 KWayland</div></div></div><br /><div><strong>BRANCH</strong><div><div>master</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D17122">https://phabricator.kde.org/D17122</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>autotests/server/test_display.cpp<br />
src/server/display.cpp<br />
src/server/display.h</div></div></div><br /><div><strong>To: </strong>fvogt, KWin, Plasma<br /><strong>Cc: </strong>kde-frameworks-devel, michaelh, ngraham, bruns<br /></div>