Merge lp:~mc-return/compiz/compiz.merge-fix1182794-screenshot-not-compatible-with-unityshell.0 into lp:compiz/0.9.10
Status: | Work in progress |
---|---|
Proposed branch: | lp:~mc-return/compiz/compiz.merge-fix1182794-screenshot-not-compatible-with-unityshell.0 |
Merge into: | lp:compiz/0.9.10 |
Diff against target: |
64 lines (+2/-13) 2 files modified
plugins/screenshot/src/screenshot.cpp (+2/-12) plugins/screenshot/src/screenshot.h (+0/-1) |
To merge this branch: | bzr merge lp:~mc-return/compiz/compiz.merge-fix1182794-screenshot-not-compatible-with-unityshell.0 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Sam Spilsbury | Approve | ||
PS Jenkins bot | continuous-integration | Pending | |
Review via email: mp+165112@code.launchpad.net |
Commit message
Screenshot plugin:
We have to redraw and damage the painted region the whole time,
if unityshell is enabled, not only when it's size changed.
Otherwise the constant whole-screen damaging of Unity makes the
screenshot selection box disappear.
Note:
Screenshot is less efficient now, so this should probably be
reverted, once unityshell has learned to correctly damage just
repainted regions.
(LP: #1182794)
Unmerged revisions
- 3723. By MC Return
-
Reduced the .diff to make review easier
- 3722. By MC Return
-
Screenshot plugin:
We have to redraw and damage the painted region the whole time,
if unityshell is enabled, not only when it's size changed
Otherwise the constant whole-screen damaging of Unity makes the
screenshot selection box disappearNote:
Screenshot is less efficient now, so this should probably be
reverted, once unityshell has learned to correctly damage just
repainted regions(LP: #1182794)
Sam, I am setting this back to WIP as it seems to need the additional damage call - otherwise it can get into a flickering condition...