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
|
||||
|
||||
// init XRenderUtils
|
||||
XRenderUtils::init(connection(), rootWindow());
|
||||
if (kwinApp()->operationMode() == Application::OperationModeX11) {
|
||||
XRenderUtils::init(connection(), rootWindow());
|
||||
}
|
||||
if (Compositor::self()) {
|
||||
m_compositor = Compositor::self();
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue