diff -Nru compiz-0.9.12.2+16.04.20160801.3/debian/changelog compiz-0.9.12.2+16.04.20160823/debian/changelog --- compiz-0.9.12.2+16.04.20160801.3/debian/changelog 2016-09-06 00:53:22.000000000 +0000 +++ compiz-0.9.12.2+16.04.20160823/debian/changelog 2016-09-06 00:53:23.000000000 +0000 @@ -1,3 +1,10 @@ +compiz (1:0.9.12.2+16.04.20160823-0ubuntu1) xenial; urgency=medium + + [ Andrea Azzarone ] + * [expo] limit scroll to workarea. (LP: #913880) + + -- Marco Trevisan (TreviƱo) Tue, 23 Aug 2016 16:06:02 +0000 + compiz (1:0.9.12.2+16.04.20160801.3-0ubuntu1) xenial; urgency=medium [ Andrea Azzarone ] diff -Nru compiz-0.9.12.2+16.04.20160801.3/plugins/expo/src/expo.cpp compiz-0.9.12.2+16.04.20160823/plugins/expo/src/expo.cpp --- compiz-0.9.12.2+16.04.20160801.3/plugins/expo/src/expo.cpp 2016-08-01 13:41:22.000000000 +0000 +++ compiz-0.9.12.2+16.04.20160823/plugins/expo/src/expo.cpp 2016-08-23 16:05:34.000000000 +0000 @@ -187,6 +187,10 @@ if (!expoMode) return false; + CompPoint pointer (pointerX, pointerY); + if (!screen->workArea ().contains (pointer)) + return false; + unsigned int newX = selectedVp.x () + 1; unsigned int newY = selectedVp.y (); @@ -214,6 +218,10 @@ if (!expoMode) return false; + CompPoint pointer (pointerX, pointerY); + if (!screen->workArea ().contains (pointer)) + return false; + int newX = selectedVp.x () - 1; int newY = selectedVp.y ();