Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
KWin
Commits
ed793dca
Commit
ed793dca
authored
Jan 29, 2021
by
David Edmundson
Committed by
Vlad Zahorodnii
Feb 01, 2021
Browse files
Add option to enable XWayland debug
parent
230b560f
Changes
1
Hide whitespace changes
Inline
Side-by-side
xwl/xwayland.cpp
View file @
ed793dca
...
...
@@ -128,6 +128,9 @@ void Xwayland::start()
QProcessEnvironment
env
=
m_app
->
processStartupEnvironment
();
env
.
insert
(
"WAYLAND_SOCKET"
,
QByteArray
::
number
(
wlfd
));
env
.
insert
(
"EGL_PLATFORM"
,
QByteArrayLiteral
(
"DRM"
));
if
(
qEnvironmentVariableIsSet
(
"KWIN_XWAYLAND_DEBUG"
))
{
env
.
insert
(
"WAYLAND_DEBUG"
,
QByteArrayLiteral
(
"1"
));
}
m_xwaylandProcess
->
setProcessEnvironment
(
env
);
m_xwaylandProcess
->
setArguments
({
QStringLiteral
(
"-displayfd"
),
QString
::
number
(
pipeFds
[
1
]),
...
...
David Edmundson
@davidedmundson
mentioned in commit
ab5d1737
·
Feb 01, 2021
mentioned in commit
ab5d1737
mentioned in commit ab5d17376852e1fe04e62dfb85dbf093f2f51d34
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment