Merge lp:~compiz-team/compiz-core/compiz-core.fix_861341 into lp:compiz-core/0.9.5

Proposed by Sam Spilsbury
Status: Merged
Merged at revision: 2849
Proposed branch: lp:~compiz-team/compiz-core/compiz-core.fix_861341
Merge into: lp:compiz-core/0.9.5
Diff against target: 26 lines (+4/-3)
1 file modified
src/screen.cpp (+4/-3)
To merge this branch: bzr merge lp:~compiz-team/compiz-core/compiz-core.fix_861341
Reviewer Review Type Date Requested Status
Jason Smith (community) Approve
Review via email: mp+77322@code.launchpad.net

Description of the change

To post a comment you must log in.
Revision history for this message
Jason Smith (jassmith) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/screen.cpp'
2--- src/screen.cpp 2011-09-27 14:20:10 +0000
3+++ src/screen.cpp 2011-09-28 12:38:13 +0000
4@@ -3250,6 +3250,7 @@
5 CompScreen::updateWorkarea ()
6 {
7 CompRect workArea;
8+ CompRegion allWorkArea = CompRegion ();
9 bool workAreaChanged = false;
10
11 for (unsigned int i = 0; i < priv->outputDevs.size (); i++)
12@@ -3263,11 +3264,11 @@
13 workAreaChanged = true;
14 priv->outputDevs[i].setWorkArea (workArea);
15 }
16+
17+ allWorkArea += workArea;
18 }
19
20- workArea = priv->computeWorkareaForBox (CompRect (0, 0,
21- screen->width (),
22- screen->height ()));
23+ workArea = allWorkArea.boundingRect ();
24
25 if (priv->workArea != workArea)
26 {

Subscribers

People subscribed via source and target branches