[kcmkwin/compositing] Do not write GLPlatformInterface config
Summary: The gui element to select the platform interface is dropped. Thus we should not store the config for it. This is rather important as changing compositor settings on Wayland would result in egl being written into the config which potentially breaks an X11 session. BUG: 378114 Reviewers: #kwin, #plasma Subscribers: plasma-devel, kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D5285
This commit is contained in:
parent
49fc310594
commit
a936516107
1 changed files with 0 additions and 4 deletions
|
@ -309,10 +309,6 @@ void Compositing::save()
|
|||
}
|
||||
kwinConfig.writeEntry("Backend", backend);
|
||||
kwinConfig.writeEntry("GLCore", glCore);
|
||||
const QModelIndex glIndex = m_openGLPlatformInterfaceModel->index(m_openGLPlatformInterface);
|
||||
if (glIndex.isValid()) {
|
||||
kwinConfig.writeEntry("GLPlatformInterface", glIndex.data(Qt::UserRole).toString());
|
||||
}
|
||||
if (!compositingRequired()) {
|
||||
kwinConfig.writeEntry("WindowsBlockCompositing", windowsBlockCompositing());
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue