Bug 319994 - Integration with KScreen
Summary: Integration with KScreen
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: core (show other bugs)
Version: git master
Platform: Other Linux
: NOR wishlist
Target Milestone: 4.11
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-18 18:59 UTC by Martin Flöser
Modified: 2013-06-04 15:08 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 4.11
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Flöser 2013-05-18 18:59:48 UTC
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
Comment 1 Martin Flöser 2013-06-04 15:08:10 UTC
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