Merge lp:~mc-return/compiz/compiz.merge-fix1182794-screenshot-not-compatible-with-unityshell into lp:compiz/0.9.10
Status: | Work in progress |
---|---|
Proposed branch: | lp:~mc-return/compiz/compiz.merge-fix1182794-screenshot-not-compatible-with-unityshell |
Merge into: | lp:compiz/0.9.10 |
Diff against target: |
128 lines (+17/-24) 2 files modified
plugins/screenshot/src/screenshot.cpp (+7/-20) plugins/screenshot/src/screenshot.h (+10/-4) |
To merge this branch: | bzr merge lp:~mc-return/compiz/compiz.merge-fix1182794-screenshot-not-compatible-with-unityshell |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Sam Spilsbury | Needs Information | ||
Review via email: mp+165066@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.
Minor indentation fixes.
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
- 3727. By MC Return
-
Removed redundant damage call
- 3726. By MC Return
-
Fixed comment
- 3725. By MC Return
-
Fixed indentation
- 3724. By MC Return
-
Added newline
- 3723. By MC Return
-
Removed line committed by accident
- 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 disappearIndentation fixes
Note:
Screenshot is less efficient now, so this should probably be
reverted, once unityshell has learned to correctly damage just
repainted regions(LP: #1182794)
"Otherwise the constant whole-screen damaging of Unity makes the
screenshot selection box disappear."
Can you explain more why you think that's happening? I don't see why an expanded damage region would cause some elements not to paint.