Skip to content

xwayland: Refactor argument string construction

Daniel Stone requested to merge daniels/weston:wet-process-2-xwl-exec-args into main

[this MR is forked out of !932 (closed)]

Replace an oft-duplicated pattern with a trivial helper function. In doing so, we observe that the one special case (displayfd 'didn't need to be CLOEXEC') was wrong, because the X server does fork itself internally, so there is nothing wrong with setting CLOEXEC.

Signed-off-by: Daniel Stone daniels@collabora.com

Edited by Daniel Stone

Merge request reports

Loading