Merge lp:~smspillaz/compcomm-plugins-main/compcomm-plugins-main.fix_963767 into lp:~compiz/compcomm-plugins-main/ubuntu

Proposed by Sam Spilsbury
Status: Merged
Merged at revision: 265
Proposed branch: lp:~smspillaz/compcomm-plugins-main/compcomm-plugins-main.fix_963767
Merge into: lp:~compiz/compcomm-plugins-main/ubuntu
Diff against target: 48 lines (+28/-0)
3 files modified
debian/changelog (+6/-0)
debian/patches/fix_963767.patch (+21/-0)
debian/patches/series (+1/-0)
To merge this branch: bzr merge lp:~smspillaz/compcomm-plugins-main/compcomm-plugins-main.fix_963767
Reviewer Review Type Date Requested Status
Didier Roche-Tolomelli Approve
Review via email: mp+101060@code.launchpad.net

Description of the change

Fix LP #963767

To post a comment you must log in.
264. By Sam Spilsbury

debian/patches/fix_963767.patch : fix LP #963767, scale correctly

265. By Sam Spilsbury

Change to UNRELEASED

Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :

good good ;)

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2012-04-03 13:45:13 +0000
3+++ debian/changelog 2012-04-06 05:44:18 +0000
4@@ -1,3 +1,9 @@
5+compiz-plugins-main (1:0.9.7.0~bzr19-0ubuntu9) UNRELEASED; urgency=low
6+
7+ * debian/patches/fix_963767.patch : fix LP #963767, scale correctly
8+
9+ -- Sam Spilsbury <sam.spilsbury@canonical.com> Fri, 06 Apr 2012 13:40:07 +0800
10+
11 compiz-plugins-main (1:0.9.7.0~bzr19-0ubuntu8) precise; urgency=low
12
13 [ Matthias Niess]
14
15=== added file 'debian/patches/fix_963767.patch'
16--- debian/patches/fix_963767.patch 1970-01-01 00:00:00 +0000
17+++ debian/patches/fix_963767.patch 2012-04-06 05:44:18 +0000
18@@ -0,0 +1,21 @@
19+=== modified file 'src/expo.cpp'
20+Index: compiz-plugins-main-0.9.7.0~bzr19/expo/src/expo.cpp
21+===================================================================
22+--- compiz-plugins-main-0.9.7.0~bzr19.orig/expo/src/expo.cpp 2012-04-06 11:33:35.619849554 +0800
23++++ compiz-plugins-main-0.9.7.0~bzr19/expo/src/expo.cpp 2012-04-06 11:35:17.992357170 +0800
24+@@ -1508,11 +1508,12 @@
25+ {
26+ CompOutput *o = &screen->outputDevs ()[screen->outputDeviceForGeometry(window->geometry())];
27+ float yS = 1.0 + ((o->height () / (float) window->height ()) - 1.0f) * sigmoidProgress (eScreen->expoCam);
28+- wTransform.translate (window->x () + window->width () / 2,
29++ float xS = 1.0 + ((o->width () / (float) window->width ()) - 1.0f) * sigmoidProgress (eScreen->expoCam);
30++ wTransform.translate (window->x () + window->width (),
31+ window->y () + window->height (),
32+ 0.0f);
33+- wTransform.scale (1.0f, yS, 1.0f);
34+- wTransform.translate (-(window->x () + window->width () / 2),
35++ wTransform.scale (xS, yS, 1.0f);
36++ wTransform.translate (-(window->x () + window->width ()),
37+ -(window->y () + window->height ()),
38+ 0.0f);
39+
40
41=== modified file 'debian/patches/series'
42--- debian/patches/series 2012-03-21 10:46:38 +0000
43+++ debian/patches/series 2012-04-06 05:44:18 +0000
44@@ -8,3 +8,4 @@
45 fix_broken_build.patch
46 vpswitch_953834.patch
47 fix_930192.patch
48+fix_963767.patch

Subscribers

People subscribed via source and target branches

to all changes: