From da8230f99b1b674590c41fae25cccc9b74a8716a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= Date: Mon, 5 Nov 2012 19:04:56 +0100 Subject: unityshell: fix compilation, use the last mask as default when painting (bzr r2846.1.37) --- plugins/unityshell/src/unityshell.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'plugins/unityshell/src') diff --git a/plugins/unityshell/src/unityshell.cpp b/plugins/unityshell/src/unityshell.cpp index 6c04ec50b..e3fe92b9a 100644 --- a/plugins/unityshell/src/unityshell.cpp +++ b/plugins/unityshell/src/unityshell.cpp @@ -77,7 +77,6 @@ using namespace launcher; using launcher::AbstractLauncherIcon; using launcher::Launcher; using ui::LayoutWindow; -using ui::LayoutWindow::List; using util::Timer; DECLARE_LOGGER(logger, "unity.shell.compiz"); @@ -3963,7 +3962,7 @@ void UnityWindow::paintThumbnail(nux::Geometry const& geo, float alpha, float sc GLWindowPaintAttrib attrib = gWindow->lastPaintAttrib(); attrib.opacity = (alpha * G_MAXUSHORT); - unsigned mask = 0; + unsigned mask = gWindow->lastMask(); nux::Geometry thumb_geo = geo; if (selected) -- cgit v1.2.3