From 76f7ee6bffb2a8324a23efc99c3f4f162118154e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20L=C3=BCbking?= Date: Sun, 28 Jul 2013 21:44:55 +0200 Subject: [PATCH] write back unsupported (kwin-intel) unredirection to have a minimal hint on "this does not work" REVIEW: 111772 CCBUG: 252817 --- options.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/options.cpp b/options.cpp index 8f6a21f474..52b082a57e 100644 --- a/options.cpp +++ b/options.cpp @@ -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(); }