Let's improve the screen switching experience for the case that screens are changed with KScreen: 1. KScreen informs KWin that it wants to change the screen setup 2. KWin fades the screen to black (to prevent flicker) 3. KWin informs KScreen once the screen is black 4. KScreen changes screen setup 5. KScreen informs KWin that new setup is configured 6. KWin adjusts the internal state (displayWidth/Height) and fades windows in again
Git commit edeaabea4ff6856b794d5880e7eb0248ebacaf90 by Martin Gräßlin. Committed on 27/05/2013 at 10:45. Pushed by graesslin into branch 'master'. Helper effect for KScreen integration This effect is controlled by KScreen. It fades out all windows when KScreen requests this and gives feedback to KScreen once all windows are faded out. This allows KScreen to adjust the screens in a flicker free way. REVIEW: 110661 FIXED-IN: 4.11 M +1 -0 kwin/effects/CMakeLists.txt A +14 -0 kwin/effects/kscreen/CMakeLists.txt A +191 -0 kwin/effects/kscreen/kscreen.cpp [License: GPL (v2)] A +19 -0 kwin/effects/kscreen/kscreen.desktop A +64 -0 kwin/effects/kscreen/kscreen.h [License: GPL (v2)] A +12 -0 kwin/effects/kscreen/kscreen.kcfg A +5 -0 kwin/effects/kscreen/kscreenconfig.kcfgc http://commits.kde.org/kde-workspace/edeaabea4ff6856b794d5880e7eb0248ebacaf90