write back unsupported (kwin-intel) unredirection

to have a minimal hint on "this does not work"

REVIEW: 111772
CCBUG: 252817
This commit is contained in:
Thomas Lübking 2013-07-28 21:44:55 +02:00
parent 971fe0107c
commit 76f7ee6bff

View file

@ -656,6 +656,9 @@ void Options::setUnredirectFullscreen(bool unredirectFullscreen)
if (m_unredirectFullscreen == unredirectFullscreen) {
return;
}
if (GLPlatform::instance()->driver() == Driver_Intel) { // write back the value
KConfigGroup(KGlobal::config(), "Compositing").writeEntry("UnredirectFullscreen", false);
}
m_unredirectFullscreen = unredirectFullscreen;
emit unredirectFullscreenChanged();
}