Disallow XRender or NoCompositing on Wayland
If the user specifies KWIN_COMPOSE=X or KWIN_COMPOSE=N or config says Xrender lets fallback to QPainter.
This commit is contained in:
parent
22da928d2b
commit
d4dbc8c802
1 changed files with 4 additions and 0 deletions
|
@ -946,6 +946,10 @@ bool Options::loadCompositingConfig (bool force)
|
|||
break;
|
||||
}
|
||||
}
|
||||
if (kwinApp()->shouldUseWaylandForCompositing() && (compositingMode == XRenderCompositing || compositingMode == NoCompositing)) {
|
||||
qCDebug(KWIN_CORE) << "Compositing forced to QPainter mode by invalid compositor selection";
|
||||
compositingMode = QPainterCompositing;
|
||||
}
|
||||
setCompositingMode(compositingMode);
|
||||
|
||||
if (m_compositingMode == NoCompositing) {
|
||||
|
|
Loading…
Reference in a new issue