Merge lp:~vanvugt/unity/fix-1057528 into lp:unity
Proposed by
Daniel van Vugt
Status: | Merged |
---|---|
Approved by: | Łukasz Zemczak |
Approved revision: | no longer in the source branch. |
Merged at revision: | 2818 |
Proposed branch: | lp:~vanvugt/unity/fix-1057528 |
Merge into: | lp:unity |
Diff against target: |
96 lines (+39/-18) 2 files modified
manual-tests/Panel.txt (+16/-0) plugins/unityshell/src/unityshell.cpp (+23/-18) |
To merge this branch: | bzr merge lp:~vanvugt/unity/fix-1057528 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Łukasz Zemczak | Approve | ||
Marco Trevisan (Treviño) | Approve | ||
Review via email:
|
Commit message
Draw the panel shadow only within the redraw region. Using a bounding box
allowed parts to get redrawn when they should not, appearing as small chunks
of extra-dark panel shadow.
(LP: #1057528)
Description of the change
See commit message.
To post a comment you must log in.
75 + for (auto r : rects)
auto const& r could save some copies there..
67 + if (launcher_ controller_ ->IsOverlayOpen () &&
68 + current_monitor == overlay_monitor_)
On stylistic basis I'd prefer that to be in one line...
Btw, code looks good and it works as expected.