Merge lp:~vanvugt/unity/fix-815454-trunk into lp:unity

Proposed by Daniel van Vugt
Status: Merged
Approved by: Andrea Cimitan
Approved revision: no longer in the source branch.
Merged at revision: 1603
Proposed branch: lp:~vanvugt/unity/fix-815454-trunk
Merge into: lp:unity
Diff against target: 11 lines (+1/-1)
1 file modified
plugins/unityshell/src/unityshell.cpp (+1/-1)
To merge this branch: bzr merge lp:~vanvugt/unity/fix-815454-trunk
Reviewer Review Type Date Requested Status
Andrea Cimitan (community) Approve
Andrea Azzarone (community) Approve
Review via email: mp+76337@code.launchpad.net

Description of the change

Fixed missing panel shadow on secondary monitors. (LP: #815454)

It was a trivial mistake, rendering the shadow in the wrong place.

To post a comment you must log in.
Revision history for this message
Andrea Azzarone (azzar1) wrote :

Approve.

review: Approve
Revision history for this message
Andrea Cimitan (cimi) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'plugins/unityshell/src/unityshell.cpp'
2--- plugins/unityshell/src/unityshell.cpp 2011-09-20 14:03:19 +0000
3+++ plugins/unityshell/src/unityshell.cpp 2011-09-21 06:40:28 +0000
4@@ -493,7 +493,7 @@
5 float panel_h = 24.0f;
6
7 float x1 = output->x();
8- float y1 = panel_h;
9+ float y1 = output->y() + panel_h;
10 float x2 = x1 + output->width();
11 float y2 = y1 + h;
12