Do not init XRenderUtils on Wayland
If something calls into XRender it would be a bug.
This commit is contained in:
parent
cd293220bb
commit
8b8167b565
1 changed files with 3 additions and 1 deletions
|
@ -191,7 +191,9 @@ Workspace::Workspace(bool restore)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// init XRenderUtils
|
// init XRenderUtils
|
||||||
|
if (kwinApp()->operationMode() == Application::OperationModeX11) {
|
||||||
XRenderUtils::init(connection(), rootWindow());
|
XRenderUtils::init(connection(), rootWindow());
|
||||||
|
}
|
||||||
if (Compositor::self()) {
|
if (Compositor::self()) {
|
||||||
m_compositor = Compositor::self();
|
m_compositor = Compositor::self();
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue