summaryrefslogtreecommitdiff
path: root/plugins
diff options
authorMarco Trevisan (Treviño) <mail@3v1n0.net>2012-11-05 19:04:56 +0100
committerMarco Trevisan (Treviño) <mail@3v1n0.net>2012-11-05 19:04:56 +0100
commitda8230f99b1b674590c41fae25cccc9b74a8716a (patch)
tree9b1c935aab29926590be728025a856b0904b3d73 /plugins
parenta3b8e890116b59756e42fbe2ca34f488b53e8130 (diff)
unityshell: fix compilation, use the last mask as default when painting
(bzr r2846.1.37)
Diffstat (limited to 'plugins')
-rw-r--r--plugins/unityshell/src/unityshell.cpp3
1 files changed, 1 insertions, 2 deletions
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)