Merge lp:~compiz-team/compiz/prepare-0.9.11.3-SRU into lp:compiz/0.9.11

Proposed by Christopher Townsend
Status: Merged
Approved by: Stephen M. Webb
Approved revision: 3870
Merged at revision: 3867
Proposed branch: lp:~compiz-team/compiz/prepare-0.9.11.3-SRU
Merge into: lp:compiz/0.9.11
Diff against target: 77 lines (+37/-2)
3 files modified
debian/changelog (+11/-0)
plugins/expo/src/expo.cpp (+20/-1)
src/window.cpp (+6/-1)
To merge this branch: bzr merge lp:~compiz-team/compiz/prepare-0.9.11.3-SRU
Reviewer Review Type Date Requested Status
Stephen M. Webb Approve
PS Jenkins bot (community) continuous-integration Approve
Review via email: mp+228328@code.launchpad.net

Commit message

Prepare fixes for upstream micro-release 0.9.11.3.

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Stephen M. Webb (bregma) wrote :

ready

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 2014-07-14 14:36:57 +0000
3+++ debian/changelog 2014-07-25 14:47:23 +0000
4@@ -1,3 +1,14 @@
5+compiz (1:0.9.11.2+14.04.20140714-0ubuntu2) trusty; urgency=medium
6+
7+ * Add NumLock and CapsLock button ungrab keymasks, so unfocused Gtk
8+ window scrolling will work when NumLock is off and CapsLock is on
9+ and any combination thereof. (LP: #1311788)
10+ * Fixes issue in the Expo plugin where a gap is shown in the place
11+ where the Launcher and Panel should be when windows are maximized.
12+ This was originally removed in rev. 3481. (LP: #1087090)
13+
14+ -- Chris Townsend <christopher.townsend@canonical.com> Fri, 25 Jul 2014 09:56:35 -0400
15+
16 compiz (1:0.9.11.2+14.04.20140714-0ubuntu1) trusty; urgency=medium
17
18 [ Chris Townsend ]
19
20=== modified file 'plugins/expo/src/expo.cpp'
21--- plugins/expo/src/expo.cpp 2014-06-23 13:11:54 +0000
22+++ plugins/expo/src/expo.cpp 2014-07-25 14:47:23 +0000
23@@ -1461,6 +1461,8 @@
24 const CompRegion &region,
25 unsigned int mask)
26 {
27+ GLMatrix wTransform (transform);
28+
29 if (eScreen->expoActive)
30 {
31 if (eScreen->expoCam > 0.0)
32@@ -1486,9 +1488,26 @@
33
34 if (opacity <= 0)
35 mask |= PAINT_WINDOW_NO_CORE_INSTANCE_MASK;
36+
37+ /* Stretch maximized windows a little so that you don't
38+ * have an awkward gap */
39+ if (((window->state () & MAXIMIZE_STATE) == MAXIMIZE_STATE) &&
40+ (eScreen->dndWindow != window))
41+ {
42+ CompOutput *o = &screen->outputDevs ()[screen->outputDeviceForGeometry(window->geometry())];
43+ float yS = 1.0 + ((o->height () / (float) window->height ()) - 1.0f) * sigmoidProgress (eScreen->expoCam);
44+ float xS = 1.0 + ((o->width () / (float) window->width ()) - 1.0f) * sigmoidProgress (eScreen->expoCam);
45+ wTransform.translate (window->x () + window->width (),
46+ window->y () + window->height (),
47+ 0.0f);
48+ wTransform.scale (xS, yS, 1.0f);
49+ wTransform.translate (-(window->x () + window->width ()),
50+ -(window->y () + window->height ()),
51+ 0.0f);
52+ }
53 }
54
55- return gWindow->glPaint (attrib, transform, region, mask);
56+ return gWindow->glPaint (attrib, wTransform, region, mask);
57 }
58
59 bool
60
61=== modified file 'src/window.cpp'
62--- src/window.cpp 2014-06-17 20:02:23 +0000
63+++ src/window.cpp 2014-07-25 14:47:23 +0000
64@@ -5652,7 +5652,12 @@
65 {
66 /* Ungrab Buttons 4 & 5 for vertical scrolling if the window is not the desktop window */
67 for (int i = Button4; i <= Button5; ++i)
68- XUngrabButton (screen->dpy (), i, AnyModifier, frame);
69+ {
70+ XUngrabButton (screen->dpy (), i, 0, frame);
71+ XUngrabButton (screen->dpy (), i, LockMask, frame);
72+ XUngrabButton (screen->dpy (), i, Mod2Mask, frame);
73+ XUngrabButton (screen->dpy (), i, LockMask | Mod2Mask, frame);
74+ }
75 }
76 }
77 }

Subscribers

People subscribed via source and target branches

to all changes: