diff -Nru unity-7.4.0+16.04.20160705/debian/changelog unity-7.4.0+16.04.20160715/debian/changelog --- unity-7.4.0+16.04.20160705/debian/changelog 2016-07-15 10:16:18.000000000 +0000 +++ unity-7.4.0+16.04.20160715/debian/changelog 2016-07-15 10:16:18.000000000 +0000 @@ -1,11 +1,9 @@ -unity (7.4.0+16.04.20160705-0ubuntu1) xenial; urgency=medium +unity (7.4.0+16.04.20160715-0ubuntu1) xenial; urgency=medium [ Eleni Maria Stea ] * PanelView: Don't draw it if the geo doesn't intersect the monitor geo (as in ezoom) * speeds up the showdesktop plugin in lowgfx mode - * UnityScreen: only redraw parts of the screen visible in each output - (LP: #1598770) [ Andrea Azzarone ] * Add whitelist for auto-repated keys. (LP: #1586491) @@ -45,7 +43,7 @@ * unity7.conf: use different compiz profile based on unity_support_test result (LP: #1598770) - -- Marco Trevisan (Treviño) Tue, 05 Jul 2016 11:11:10 +0000 + -- Marco Trevisan (Treviño) Fri, 15 Jul 2016 10:14:41 +0000 unity (7.4.0+16.04.20160526.1-0ubuntu1) xenial; urgency=medium diff -Nru unity-7.4.0+16.04.20160705/plugins/unityshell/src/unityshell.cpp unity-7.4.0+16.04.20160715/plugins/unityshell/src/unityshell.cpp --- unity-7.4.0+16.04.20160705/plugins/unityshell/src/unityshell.cpp 2016-07-05 11:10:54.000000000 +0000 +++ unity-7.4.0+16.04.20160715/plugins/unityshell/src/unityshell.cpp 2016-07-15 10:14:23.000000000 +0000 @@ -863,7 +863,7 @@ cScreen->damageRegion(CompRegionFromNuxGeo(blur_update)); } -void UnityScreen::paintOutput() +void UnityScreen::paintDisplay() { CompOutput *output = last_output_; @@ -884,7 +884,7 @@ current_draw_binding = old_read_binding; #endif - BackgroundEffectHelper::monitor_rect_.Set(0, 0, output->width(), output->height()); + BackgroundEffectHelper::monitor_rect_.Set(0, 0, screen->width(), screen->height()); // If we have dirty helpers re-copy the backbuffer into a texture if (dirty_helpers_on_this_frame_) @@ -909,10 +909,10 @@ for (CompRect const& rect : blur_region.rects()) { - int x = nux::Clamp(rect.x(), 0, output->width()); - int y = nux::Clamp(output->height() - rect.y2(), 0, output->height()); - int width = std::min(output->width() - rect.x(), rect.width()); - int height = std::min(output->height() - y, rect.height()); + int x = nux::Clamp(rect.x(), 0, screen->width()); + int y = nux::Clamp(screen->height() - rect.y2(), 0, screen->height()); + int width = std::min(screen->width() - rect.x(), rect.width()); + int height = std::min(screen->height() - y, rect.height()); CHECKGL(glCopyTexSubImage2D(surface_target, 0, x, y, x, y, width, height)); } @@ -1504,7 +1504,7 @@ doShellRepaint = false; if (doShellRepaint) - paintOutput(); + paintDisplay(); return ret; } @@ -3094,18 +3094,18 @@ if (uScreen->doShellRepaint && window == uScreen->onboard_) { - uScreen->paintOutput(); + uScreen->paintDisplay(); } else if (uScreen->doShellRepaint && window == uScreen->firstWindowAboveShell && !uScreen->forcePaintOnTop() && !uScreen->fullscreenRegion.contains(window->geometry())) { - uScreen->paintOutput(); + uScreen->paintDisplay(); } else if (locked && CanBypassLockScreen()) { - uScreen->paintOutput(); + uScreen->paintDisplay(); } enum class DrawPanelShadow diff -Nru unity-7.4.0+16.04.20160705/plugins/unityshell/src/unityshell.h unity-7.4.0+16.04.20160715/plugins/unityshell/src/unityshell.h --- unity-7.4.0+16.04.20160705/plugins/unityshell/src/unityshell.h 2016-07-05 11:10:54.000000000 +0000 +++ unity-7.4.0+16.04.20160715/plugins/unityshell/src/unityshell.h 2016-07-15 10:14:23.000000000 +0000 @@ -179,7 +179,7 @@ void nuxEpilogue(); /* nux draw wrapper */ - void paintOutput(); + void paintDisplay(); void paintPanelShadow(CompRegion const& clip); void setPanelShadowMatrix(const GLMatrix& matrix); void updateBlurDamage();