Skip to content
Commit bb74db6b authored by Olivier Fourdan's avatar Olivier Fourdan Committed by Michel Dänzer
Browse files

xwayland: search for a render node to use

wl_drm's protocol "device" event provides the path to the DRM device,
which may not be a render node, thus causing Xwayland to fall back to
DRM authentication which may fail if the user has switched to another
VT while Xwayland is starting.

Search for a render node corresponding to the given DRM device and try
to use it instead, as render nodes do not need DRM authentication and
Xwayland can make use of them if it can find one.

Closes: https://bugs.freedesktop.org/108038


Signed-off-by: default avatarOlivier Fourdan <ofourdan@redhat.com>
(Cherry picked from commit 36189449)
parent 87491ced
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment